std::basic_regex<CharT,Traits>:: imbue
From cppreference.net
<
cpp
|
regex
|
basic regex
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 | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Regular expressions library
| Classes | ||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
(C++11)
|
||||
| Algorithms | ||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
(C++11)
|
||||
| Iterators | ||||
|
(C++11)
|
||||
|
(C++11)
|
||||
| Exceptions | ||||
|
(C++11)
|
||||
| Traits | ||||
|
(C++11)
|
||||
| Constants | ||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
(C++11)
|
||||
| Regex Grammar | ||||
|
(C++11)
|
std::basic_regex
| Member Functions | ||||
| Observers | ||||
| Locale | ||||
|
basic_regex::imbue
|
||||
| Modifiers | ||||
| Constants | ||||
| Non-member Functions | ||||
| Deduction guides (C++17) |
|
locale_type imbue
(
locale_type loc
)
;
|
(C++11 이후) | |
현재 로케일을 loc 로 교체합니다. 호출 후 정규 표현식은 어떤 문자 시퀀스와도 일치하지 않습니다.
효과적으로
traits_i.
imbue
(
loc
)
를 호출합니다. 여기서
traits_i
는 정규 표현식 객체 내에 저장된
Traits
타입의 기본 초기화된 인스턴스입니다.
목차 |
매개변수
| loc | - | 사용할 새 로케일 |
반환값
이 함수 호출 이전의 로케일. 효과적으로 다음 표현식의 결과를 반환합니다: traits_i. imbue ( loc ) .
예외
구현 정의 예외를 던질 수 있습니다.
예제
|
이 섹션은 불완전합니다
이유: 예제가 없음 |
참고 항목
|
로케일 정보 가져오기
(public member function) |