Does std::map assign its comparator?

Viewed 176

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.

2 Answers
Related