public member function

std::locale::operator==

<locale>
bool operator== (const locale& other) const;
Comparison operator
Compares the locale against other.
Returns true when both locales are the same object, or one is a copy of the other, or each has a name and the names are identical.
Returns false in any other case.

Parameters

other
locale object to compare *this with.

Return value

true if both locales are the same object, or one is a copy of the other, or each has a name and the names are identical.
false otherwise.

See also