◐ Shell
clean mode source ↗

std::wctype - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Definido no cabeçalho

<cwctype>

std::wctype_t wctype( const char* str );

Constrói um valor de std::wctype_t tipo que descreve uma categoria LC_CTYPE de classificação de caracteres de largura. Ela pode ser uma das categorias de classificação padrão, ou uma categoria de localização específica, tal como "jkanji".

Original:

Constructs a value of type std::wctype_t that describes a LC_CTYPE category of wide character classification. It may be one of the standard classification categories, or a locale-specific category, such as "jkanji".

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parâmetros

str -

C string com o nome da categoria desejada

Original:

C string holding the name of the desired category

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Os seguintes valores de str são suportados em todos os locais C:

Original:

The following values of str are supported in all C locales:

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

valor de str

Original:

value of str

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

effect
"alnum"

identifica a categoria utilizada pelo std::iswalnum

Original:

identifies the category used by std::iswalnum

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

"alpha"

identifica a categoria utilizada pelo std::iswalpha

Original:

identifies the category used by std::iswalpha

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

"blank"

identifica a categoria utilizada pelo std::iswblank (C++11)

Original:

identifies the category used by std::iswblank (C++11)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

"cntrl"

identifica a categoria utilizada pelo std::iswcntrl

Original:

identifies the category used by std::iswcntrl

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

"digit"

identifica a categoria utilizada pelo std::iswdigit

Original:

identifies the category used by std::iswdigit

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

"graph"

identifica a categoria utilizada pelo std::iswgraph

Original:

identifies the category used by std::iswgraph

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

"lower"

identifica a categoria utilizada pelo std::iswlower

Original:

identifies the category used by std::iswlower

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

"print"

identifica a categoria utilizada pelo std::iswprint

Original:

identifies the category used by std::iswprint

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

"space"

identifica a categoria utilizada pelo std::iswspace

Original:

identifies the category used by std::iswspace

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

"upper"

identifica a categoria utilizada pelo std::iswupper

Original:

identifies the category used by std::iswupper

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

"xdigit"

identifica a categoria utilizada pelo std::iswxdigit

Original:

identifies the category used by std::iswxdigit

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valor de retorno

std::wctype_t objecto adequado para uso com std::iswctype para classificar caracteres de largura de acordo com a categoria com o nome da localidade actual C ou zero se str não indicar uma categoria suportado pela localidade actual C.

Original:

std::wctype_t object suitable for use with std::iswctype to classify wide characters according to the named category of the current C locale or zero if str does not name a category supported by the current C locale.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Veja também

classifica um caractere de largura de acordo com a categoria LC_CTYPE especificado

Original:

classifies a wide character according to the specified LC_CTYPE category

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(função) [edit]