On 06/04/2016 at 04:27, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 15-17
Platform: Windows ;
Language(s) : C++ ;
---------
Hi,
I have the hashmap
maxon::HashMap<Int32, LineChangeInterval *> lineChangeIntervals;
If I try to add entries using FindOrCreateEntry like
maxon::HashMap<Int32, LineChangeInterval *>::Entry *e = lineChangeIntervals.FindOrCreateEntry(hash, created);
I get the compiler error C2228: left of '.ConstructHashMapEntry' must have class/struct/union in file hashmap.h line 498 (VS 2013)
that is: e = constructor.ConstructHashMapEntry(e, key);
What am I missing? If I use FindEntry() and Put() it compiles without errors.
Thanks for your help.