1

http://www.cocos2d-x.org/wiki/Map%3CKV%3E

This link only explains with

Map<std::string, Sprite*> 

types.

If I want to use something like this:

 Map<std::string, int>

should I just stick to std::map?

Will I have to do some extra memory management if I use std::map?

Joon. P
  • 2,238
  • 7
  • 26
  • 53

1 Answers1

1

should I just stick to std::map?

Yes.

Will I have to do some extra memory management if I use std::map?

No.

R Sahu
  • 204,454
  • 14
  • 159
  • 270