Home Help Center

One question about cpp mapping

peterpeter Member Peter JaxyOrganization: Reihnisch Westfälisch technische HochschuleProject: Integrative Production Technologie ✭✭
Good morning Ice-Team!

How can I map a dictionary to a cpp multimap???

I wrote the following Ice-file:

"cpp:include:map"

module probe {
class obj;
["cpp:type:std::multimap<string, obj>"] dictionary<string, obj> beispiel;

};

I get the error message:
ignoring invalid metadata etc...

Comments

  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    Ice does not currently support alternative mappings for Slice dictionaries in C++; std::map is always used. If you have a commercial need for this feature please contact us at [email protected].
Sign In or Register to comment.