Is std::map copy assignment (in style map1 = map2;) required to copy comparator of map2 to map1?
I have tested that actual implementations do that. I am more interested about where in C++ standard it is specified.
Is std::map copy assignment (in style map1 = map2;) required to copy comparator of map2 to map1?
I have tested that actual implementations do that. I am more interested about where in C++ standard it is specified.