Coz in most scenarios, the key-value pair is int-CCObject. It’s enough for the engine interfaces. Reducing the usage of c*+ templates can make it more friendly to c*+ beginners.
If you gonna to organize your logic data, you can consider std::map.