| Localization library | |||||||||||||||||||||||||
| Regular expressions library(C++11) | |||||||||||||||||||||||||
| Formatting library(C++20) | |||||||||||||||||||||||||
| Null-terminated sequence utilities | |||||||||||||||||||||||||
| Byte strings | |||||||||||||||||||||||||
| Multibyte strings | |||||||||||||||||||||||||
| Wide strings | |||||||||||||||||||||||||
| Primitive numeric conversions | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| Text encoding identifications | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member types | ||||
| Member functions | ||||
locale::operator= | ||||
(C++26) | ||||
(until C++20) | ||||
| Static member functions | ||||
const locale& operator=(const locale& other)throw(); | (until C++11) | |
const locale& operator=(const locale& other)noexcept; | (since C++11) | |
Creates a copy ofother, replacing the contents of*this. The reference counts of all facets held byother are incremented. The reference counts of all facets previously held by*this are decremented, and those facets whose reference count becomes zero are deleted.
Returns*this, which is now a copy ofother.
| This section is incomplete Reason: no example |
| constructs a new locale (public member function)[edit] |