Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Error when I trying to Add in VectorMap container a "C" struct
Error when I trying to Add in VectorMap container a "C" struct [message #23031] Wed, 09 September 2009 15:54 Go to previous message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

Hello all,

Help me please how can I add in VectorMap or in other container a C type struct.

I have the following situation:
extern "C" {
typedef struct C_CLASS {
	...
} C_CLASS;
}
....
typedef VectorMap<String, C_CLASS > RegistrationMap;
....
RegistrationMap     tempExactMatchMap_;


I have an error becouse the C_CLASS is not moveable.

I read that the C_Class must be moveable. How can I make this moveable?

With respect,
Ion Lupascu (tojocky)

[Updated on: Wed, 09 September 2009 15:56]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: compressed serialization
Next Topic: How to re-initialize random generator?
Goto Forum:
  


Current Time: Sun Apr 28 22:32:53 CEST 2024

Total time taken to generate the page: 0.02613 seconds