Open ricardoquesada opened 11 years ago
It should be possible to use CCObject objects (and subclasses) in STL containers like std::map, std::vector, etc.
CCObject
std::map
std::vector
The CC containers like CCDictionary, CCArray should be optional.
CCDictionary
CCArray
Also CCString should be deprecated or enhanced.
CCString
A way to do it is by using a sort of shared_ptr, but internally, instead of using its own ref count, it uses the CCObject ref couting.
It should be possible to use
CCObject
objects (and subclasses) in STL containers likestd::map
,std::vector
, etc.The CC containers like
CCDictionary
,CCArray
should be optional.Also
CCString
should be deprecated or enhanced.A way to do it is by using a sort of shared_ptr, but internally, instead of using its own ref count, it uses the
CCObject
ref couting.