Hi,
I guess it's kind of a stupid question but here is my problem :
I want to have a hash_map<int, Object^>
as an attribute of my object BigObject
, which is written in managed C++.
So I have to declare a pointer, hash_map<int, Object^>* hash
because I cannot declare explicitely native object in managed code.
How can I insert an object ? the hash_map[]
won't work with a pointer, and I cannot make insert work (I cannot use a std::pair<int, Object^>
because Object is managed...
Thanks a lot