std::locale:: operator=
From cppreference.net
C++
Text processing library
| 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 | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Localization library
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::locale
| Member types | ||||
| Member functions | ||||
|
locale::operator=
|
||||
|
(C++26)
|
||||
|
(until C++20)
|
||||
| Static member functions | ||||
|
const
locale
&
operator
=
(
const
locale
&
other
)
throw
(
)
;
|
(C++11 이전) | |
|
const
locale
&
operator
=
(
const
locale
&
other
)
noexcept
;
|
(C++11 이후) | |
other 의 복사본을 생성하여 * this 의 내용을 대체합니다. other 가 보유한 모든 facet의 참조 카운트가 증가합니다. 이전에 * this 가 보유했던 모든 facet의 참조 카운트는 감소하며, 참조 카운트가 0이 된 facet들은 삭제됩니다.
반환값
* this 를 반환하며, 이는 이제 other 의 복사본입니다.
예제
|
이 섹션은 불완전합니다
이유: 예제 없음 |
참고 항목
|
새로운 locale을 생성합니다
(public member function) |