Diferenças entre edições de "cpp/io/io errc/make error code"
Da cppreference.com
m (r2.7.3) (Robô: A adicionar: de, en, es, fr, it, ja, ru, zh) |
m (Use {{lc}}. Update links. Various fixes.) |
||
Linha 1: | Linha 1: | ||
{{tr_note}} | {{tr_note}} | ||
− | {{cpp/title|make_error_code{{ | + | {{cpp/title|make_error_code{{small|(std::io_errc)}}}} |
{{cpp/io/io_errc/navbar}} | {{cpp/io/io_errc/navbar}} | ||
{{ddcl | header=ios | notes={{mark since c++11}}| | {{ddcl | header=ios | notes={{mark since c++11}}| | ||
Linha 6: | Linha 6: | ||
}} | }} | ||
− | {{tr|Constrói um objeto {{ | + | {{tr|Constrói um objeto {{|std::error_code}} de um valor de {{|std::io_errc}} tipo como se por {{c|return std::error_code(static_cast<int>(e), std::iostream_category())}}. Esta função é chamada pelo construtor de {{|std::error_code}} quando dado um argumento {{|std::io_errc}}.|Constructs an {{|std::error_code}} object from a value of type {{|std::io_errc}} as if by {{c|return std::error_code(static_cast<int>(e), std::iostream_category())}}. This function is called by the constructor of {{|std::error_code}} when given an {{|std::io_errc}} argument.}} |
===Parâmetros=== | ===Parâmetros=== | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| e |{{tr| número de código de erro| error code number}}}} |
− | {{ | + | {{end}} |
===Valor de retorno=== | ===Valor de retorno=== | ||
− | {{tr|Um valor de {{ | + | {{tr|Um valor de {{|std::error_code}} tipo que contém o número do código de erro a partir de {{tt|e}} associado com a categoria de erro {{c|"iostream"}}.|A value of type {{|std::error_code}} that holds the error code number from {{tt|e}} associated with the error category {{c|"iostream"}}.}} |
===Exemplo=== | ===Exemplo=== | ||
Linha 33: | Linha 33: | ||
===Veja também=== | ===Veja também=== | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| cpp/error/error_code/make_error_code}} |
− | {{ | + | {{| cpp/error/error_code}} |
− | {{ | + | {{| cpp/io/io_errc}} |
− | {{ | + | {{end}} |
[[de:cpp/io/io errc/make error code]] | [[de:cpp/io/io errc/make error code]] |
Edição actual desde as 09h24min 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. |