m_values is a std::map<int, Structure>
Basically, does stl gaurentee that the Structure& reference will always be valid, or does stl internally copy around members under certain circumstances?
Code:
Structure& structure = m_values[KEY];
structure.setValue(whatever);
Basically, does stl gaurentee that the Structure& reference will always be valid, or does stl internally copy around members under certain circumstances?