Cocos2dx V3.0 RC0 cocos2d::Map<K,V> - Map inside Map


#1

Hello guys , basically I want to achieve somethings like this

Map< K1 , Map<K2 , V> > _pMyMap;

But in order the V in Map<K,V> need to be an Object. So is there anyway other way to achieve this : D

I’m just started in cocos2dx V3.0 and my english is not good . But I’ll really appreciated your help : D


#2

If so, i think you can use std::map instead.