I am a diehard C++ ... OK I know...! I am trying to migrate an application to C# and I have 2 issues: mapping STL and _variant_t
I have a core container that holds all data in a generic form:
map of type id to map of key to data reference
std::map<long, std::map< Key, Base*> >
A key is a class containing a vector of _variant_t and key information: type info and operators to access the key data, an operator < so it works with a map.
Base is the ABC for all data and contains a map of field name to _variant_t (case insensitive)
Can I map this to an equivalent in C# or can I keep it in C++ and use it in a C# project?
This type of thing must be very common, but I don't see anything as nice as STL in C# - I must be wrong - please help!