cplusplus.com
C++ : Reference : Miscellaneous : locale : locale : operator==
 
cplusplus.com
Information
Documentation
Reference
Articles
Forum
Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
Miscellaneous
Miscellaneous
complex
exception
functional
iterator
limits
locale
memory
new
numeric
stdexcept
typeinfo
utility
valarray
locale
has_facet
isalnum
isalpha
iscntrl
isdigit
isgraph
islower
isprint
ispunct
isspace
isupper
isxdigit
locale
tolower
toupper
use_facet
standard facets:
codecvt
codecvt_base
codecvt_byname
collate
collate_byname
ctype
ctype_base
ctype_byname
messages
messages_base
messages_byname
moneypunct
moneypunct_byname
money_base
money_get
money_put
numpunct
numpunct_byname
num_get
num_put
time_base
time_get
time_get_byname
time_put
time_put_byname
locale
locale::locale
locale::~locale
member functions:
locale::classic
locale::combine
locale::global
locale::name
locale::operator!=
locale::operator()
locale::operator=
locale::operator==
member types:
locale::category
locale::facet
locale::id


locale::operator==

public member function
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