Espaços nominais
Variantes
Acções

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}}
{{ddcl list begin}}
+
{{begin}}
{{ddcl list item | notes={{mark since c++11}} | 1=
+
{{| =c++11 | 1=
 
void assign( int ec, const error_category& ecat );
 
void assign( int ec, const error_category& ecat );
 
}}
 
}}
{{ddcl list end}}
+
{{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===
{{param list begin}}
+
{{begin}}
{{param list item | ec |{{tr| dependente de plataforma de código de erro enum atribuir| platform-dependent error code enum to assign}}}}
+
{{| ec |{{tr| dependente de plataforma de código de erro enum atribuir| platform-dependent error code enum to assign}}}}
{{param list item | ecat |{{tr| categoria de erro correspondente a {{tt|ec}}| error category corresponding to {{tt|ec}}}}}}
+
{{| ecat |{{tr| categoria de erro correspondente a {{tt|ec}}| error category corresponding to {{tt|ec}}}}}}
{{param list end}}
+
{{end}}
  
 
===Valor de retorno===
 
===Valor de retorno===
Linha 23: Linha 23:
  
 
===Veja também===
 
===Veja também===
{{dcl list begin}}
+
{{begin}}
{{dcl list template | cpp/error/error_code/dcl list operator{{=}}}}
+
{{| cpp/error/error_code/operator{{=}}}}
{{dcl list end}}
+
{{end}}
 +
 
 +
 +
 +
 +
 +
 +
 +
 +

Edição actual desde as 08h56min de 2 de julho de 2013

 
 
Biblioteca de utilitários
Digite apoio (basic types, RTTI, type traits)
Gerenciamento de memória dinâmica
De tratamento de erros
Utilidades do programa
Variadic funções
Data e hora
Objetos de função
(C++11)
Os operadores relacionais
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
Pares e tuplas
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
Troque, avançar e avançar
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
 
De tratamento de erros
Manipulação de exceção
Original:
Exception handling
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Manipulação de falhas de exceção
Original:
Exception handling failures
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(obsoleta)
(C++11)(obsoleta)
(obsoleta)
Categorias de exceção
Original:
Exception categories
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Códigos de erro
Original:
Error codes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Códigos de erro
Afirmações
Original:
Assertions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
instalação system_error
Original:
system_error facility
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
 
std::error_code
Funções de membro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
error_code::error_code
error_code::operator=
error_code::assign
Modificadores
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
error_code::clear
Observadores
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
error_code::value
error_code::category
error_code::default_error_condition
error_code::message
error_code::operator bool
Não-membros funções
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Classes auxiliares
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
void assign( int ec, const error_category& ecat );
(desde C++11)
Substitui o conteúdo com ec código de erro e ecat categoria correspondente
Original:
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.

Í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.

[editar] Exceções

noexcept specification:  
noexcept
  (desde C++11)

[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) [edit]