Standard library header <cwctype> - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# Standard library header <cwctype>

From cppreference.com
< cpp‎ | header

This header was originally in the C standard library as `<wctype.h>`.

This header is part of the C-style null-terminated wide strings library.

### [edit] Types

`wctrans_t` | scalar type that holds locale-specific character mapping
`wctype_t` | scalar type that holds locale-specific character classification
`wint_t` | integer type that can hold any valid wide character and at least one more value

### [edit] Macros

WEOF | a non-character value of type wint_t used to indicate errors (macro constant)

### [edit] Functions

##### Character classification
iswalnum | checks if a wide character is alphanumeric (function) [edit]
iswalpha | checks if a wide character is alphabetic (function) [edit]
iswlower | checks if a wide character is lowercase (function) [edit]
iswupper | checks if a wide character is an uppercase character (function) [edit]
iswdigit | checks if a wide character is a digit (function) [edit]
iswxdigit | checks if a character is a hexadecimal character (function) [edit]
iswcntrl | checks if a wide character is a control character (function) [edit]
iswgraph | checks if a wide character is a graphical character (function) [edit]
iswspace | checks if a wide character is a space character (function) [edit]
iswblank (C++11) | checks if a wide character is a blank character (function) [edit]
iswprint | checks if a wide character is a printing character (function) [edit]
iswpunct | checks if a wide character is a punctuation character (function) [edit]
iswctype | classifies a wide character according to the specified LC_CTYPE category (function) [edit]
wctype | looks up a character classification category in the current C locale (function) [edit]
##### Character manipulation
towlower | converts a wide character to lowercase (function) [edit]
towupper | converts a wide character to uppercase (function) [edit]
towctrans | performs character mapping according to the specified LC_CTYPE mapping category (function) [edit]
wctrans | looks up a character mapping category in the current C locale (function) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/header/cwctype&oldid=57475"