Diferenças entre edições de "cpp/error/error code/assign"
Da cppreference.com
< cpp | error | error code
m (uma edição: Translate from the English version) |
m (Use {{lc}}. Update links. Various fixes.) |
||
(Uma edição intermédia de um utilizador não apresentada) | |||
Linha 2: | Linha 2: | ||
{{cpp/error/error_code/title|assign}} | {{cpp/error/error_code/title|assign}} | ||
{{cpp/error/error_code/navbar}} | {{cpp/error/error_code/navbar}} | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| =c++11 | 1= |
void assign( int ec, const error_category& ecat ); | void assign( int ec, const error_category& ecat ); | ||
}} | }} | ||
− | {{ | + | {{end}} |
{{tr|Substitui o conteúdo com {{tt|ec}} código de erro e {{tt|ecat}} categoria correspondente|Replaces the contents with error code {{tt|ec}} and corresponding category {{tt|ecat}}}} | {{tr|Substitui o conteúdo com {{tt|ec}} código de erro e {{tt|ecat}} categoria correspondente|Replaces the contents with error code {{tt|ec}} and corresponding category {{tt|ecat}}}} | ||
===Parâmetros=== | ===Parâmetros=== | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| ec |{{tr| dependente de plataforma de código de erro enum atribuir| platform-dependent error code enum to assign}}}} |
− | {{ | + | {{| ecat |{{tr| categoria de erro correspondente a {{tt|ec}}| error category corresponding to {{tt|ec}}}}}} |
− | {{ | + | {{end}} |
===Valor de retorno=== | ===Valor de retorno=== | ||
Linha 23: | Linha 23: | ||
===Veja também=== | ===Veja também=== | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| cpp/error/error_code/operator{{=}}}} |
− | {{ | + | {{end}} |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ |
Edição actual desde as 08h56min de 2 de julho de 2013
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
void assign( int ec, const error_category& ecat ); |
(desde C++11) | |
Substitui o conteúdo com
ec
código de erro e ecat
categoria correspondenteOriginal:
Replaces the contents with error code
ec
and corresponding category ecat
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Índice |
[editar] Parâmetros
ec | - | dependente de plataforma de código de erro enum atribuir
Original: platform-dependent error code enum to assign The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
ecat | - | categoria de erro correspondente a
ec Original: error category corresponding to ec The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar] Valor de retorno
(Nenhum)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar] Exceções
[editar] Veja também
designa um outro código de erro Original: assigns another error code The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública membro) |