invisible.hippo
Arch-Supremacy Member
- Joined
- Nov 8, 2008
- Messages
- 17,902
- Reaction score
- 315
i am looking through the tutorial for map. However there's something i dont understand. In line 15 what does second in ret.second mean? Is it the second iterator?
http://www.cplusplus.com/reference/map/map/insert/
are they the same?
http://www.cplusplus.com/reference/map/map/insert/
are they the same?
The pair::second element in the pair is set to true if a new element was inserted or false if an equivalent key already existed.
Last edited:
