On 23/07/2017 at 02:50, xxxxxxxx wrote:
Cinema 4D Version: R18
Platform: Windows ;
Language(s) : C++ ;
I need to have a map with BaseList2D* as keys.
I know that if I'm about to store BaseList2D's somewhere, I have to do it in BaseLink.
Is there any maxon utility data structure for this case or do I have to create a HashMap<BaseLink, OtherType>.
It appears that ignoring BaseLink and using directly BaseList2D* as keys is bad
since the same pointer probably will be used by Cinema 4D for another object if I delete the previous.
Thank you for your time !