<utility>
: Privatize pair
's internal non-Standard constructor by frederick-vs-ja · Pull Request #4979 · microsoft/STL (original) (raw)
In #4961 we made an internal secret constructor private. It's arguably conforming to leave the internal constructor of pair
public, because it must be called with 4 arguments, and no Standard constructor would be selected in such a call. However, it's possibly better to prevent accident calls to implementation details.
Also move the deleted Edit: reverted.operator=
overload to the private section for consistency, which should affect nothing.