名前空間
変種
操作

std::error_code::make_error_code

提供: cppreference.com
< cpp‎ | error‎ | error code

 
 
 
 
std::error_code
メンバ関数
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.
修飾子
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
オブザーバー
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
非メンバ関数
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.
make_error_code
ヘルパークラス
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.
 
ヘッダ <system_error> で定義
error_code make_error_code( std::errc e );
(C++11およびそれ以降)
errc列挙eのエラー·コード値を作成します。.
Original:
Creates error code value for errc enum e.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
error_code(static_cast<int>(e), generic_category())に相当する
Original:
Equivalent to error_code(static_cast<int>(e), generic_category())
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] パラメータ

e -
のエラー·コードを作成するためのエラーコード列挙
Original:
error code enum to create error code for
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 値を返します

eに対応するエラーコード.
Original:
Error code corresponding to e.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 例外

noexcept 指定:  
noexcept