Hi, I’m using cocos2d-x 3.4. Is there any way that I’m using cocos2d::Map and cocos2d::Vector with primitive type.
I read from the wiki these container must using pointer descendant of Object. But in the cocos2d::Value section I read this:
When you want to deal with primitives aggregate, wrap the primitives with cocos2d::Value and combine them with the new template container cocos2d::Vector and cocos2d::Map<K,V>.
What does it mean? Can I use these containers if I wrapped primitive type with cocos2d::Value?
I really want these containers to also perform with primitive types. There’s lot of convenient method to use