https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113386
--- Comment #4 from Jan Schultke <janschultke at googlemail dot com> --- My bad. https://en.cppreference.com/w/cpp/utility/pair/operator_cmp currently shows > template< class T1, class T2, class U1, class U2 > > bool operator==( const std::pair<T1, T2>& lhs, const std::pair<U1, U2>& rhs ); > (until C++14) I'll fix this page. Never trust cppreference blindly I guess :)