◐ Shell
clean mode source ↗

std::wctype - cppreference.com

De cppreference.com

Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.

La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí.

Definido en el archivo de encabezado <cwctype>

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

Construye un valor de std::wctype_t tipo que describe una categoría LC_CTYPE de clasificación de caracteres de ancho. Puede ser una de las categorías de clasificación estándar, o una categoría de la configuración regional específica, 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 cadena que contiene el nombre de la categoría deseada

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.

Los siguientes valores de str son compatibles con todos los entornos nacionales 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 la categoría usada por 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 la categoría usada por 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 la categoría usada por 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 la categoría usada por 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 la categoría usada por 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 la categoría usada por 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 la categoría usada por 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 la categoría usada por 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 la categoría usada por 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 la categoría usada por 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 la categoría usada por 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 objeto adecuado para su uso con std::iswctype para clasificar caracteres anchos según la categoría con nombre de la configuración regional actual C o cero si str no se designase una categoría con el apoyo de la actual configuración regional 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.

Ver también