std::ctype <char> :: ctype
| 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 functions | ||||
| Member functions of ctype<char> | ||||
|
ctype<char>::ctype
|
||||
|
헤더에 정의됨
<locale>
|
||
|
explicit
ctype
(
const
mask
*
tbl
=
0
,
bool
del
=
false
,
std::
size_t
refs
=
0
)
;
|
||
std:: ctype < char > 패싯을 생성하고 시작 참조 카운트 refs 를 기본 클래스 생성자 locale::facet::facet() 로 전달합니다.
만약 tbl 이 null이면, 모든 분류 멤버 함수에서 classic_table() 이 사용됩니다. 그렇지 않으면, tbl 은 최소 std:: ctype < char > :: table_size 크기 이상인 마스크 배열의 첫 번째 요소를 가리키는 포인터여야 하며, 해당 배열은 이 facet의 모든 분류 멤버 함수에서 사용됩니다.
만약 del 이 true 라면, 배열이 new [ ] 로 할당되었다고 가정하며, 이 패싯의 소멸자는 delete [ ] tbl 를 호출할 것입니다.
매개변수
| tbl | - | 사용할 분류 테이블 또는 널 포인터 |
| del | - | 테이블 삭제 필요 여부 표시자 |
| refs | - | 시작 참조 카운트 |
예제
|
이 섹션은 불완전합니다
이유: 예제가 없음 |