Archived

This forum has been archived. Please start a new discussion on GitHub.

One question about cpp mapping

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

  • dwayne
    dwayne St. John's, Newfoundland
    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 info@zeroc.com.