range-based for loop for private map values Languages

range-based for loop for private map values

I have the following code:What should RETURNTYPE and IMPLEMENTATION be in order to allow any client of MyObject (in this case the main() function), to iterate over the values of the m_Items map, without copying any data? It seems that this should be possible with c++11 range based for loops...
Read More