C++ standard for "26.4.5.1 Class template multimap overview" p1 says:
A multimap is an associative container that supports equivalent keys (possibly containing multiple copies of the same key value) and provides for fast retrieval of values of another type T based on the keys.
emphasis is mine. So does it mean that std::multimap
may not keep a copy of original key object when inserted into equal range and replace it with equal one?
PS To make clear this question is inspired by this Does Each Element of a multimap Contain Both the Key and Value? and I want to know if multimap allowed to do that ie can I rely on its ability to maintain my key (which could be equal but not the same).