std::locale...,operator!=(3)
okay bestie, welcome to the std::locale...,operator!=(3) page from the C++ Standard Libary β yes, that βLibaryβ spelling is straight from the page, not me being chaotic π. This one is all about checking whether two locales are the same vibe, and the != version is literally the == version with a plot twist. π
πΈ NAME πΈ
std::locale::operator==,operator!= β std::locale::operator==,operator!=
β¨ Synopsis β¨
Defined in header <locale>:
bool operator==( const locale& other ) const; (1)
bool operator!=( const locale& other ) const; (2) (until C++20)
These operators test two locales for equality, fr fr. Named locales are considered equal if their names are equal. Unnamed locales are considered equal if they are copies of each other.
The != operator is synthesized from operator==. (since C++20) π
π Parameters π
otherβ astd::localeobject to compare π«Ά
π Return value π
trueifotheris a copy of*thisor has an identical name,falseotherwise. βfalseifotheris a copy of*thisor has an identical name,trueotherwise. π
π¦ Example π¦
This section is incomplete π Reason: no example
π See also π
constructorβ constructs a new locale (public member function) πnameβ returns the name of the locale or"*"if unnamed (public member function) π
π Category π
- Todo no example
mwah π thatβs the whole page, bestie β sourced from http://cppreference.com, stamped 2024.06.10, and signed std::locale...,operator!=(3). periodt β¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms