名前空間
変種
操作

「cpp/io/io errc/make error code」の版間の差分

提供: cppreference.com
< cpp‎ | io‎ | io errc
(Fix some translations)
 
1行: 1行:
{{tr_note}}
 
 
{{cpp/title|make_error_code{{dsc small|(std::io_errc)}}}}
 
{{cpp/title|make_error_code{{dsc 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 | sincec++11 |
std::error_code make_error_code( std::io_errc e );
+
std::error_code make_error_code( std::io_errc e ) ;
 
}}
 
}}
  
{{tr|{{lc|std::error_code}}であるかのようにタイプ{{lc|std::io_errc}}の値から{{c|return std::error_code(static_cast<int>(e), std::iostream_category())}}オブジェクトを構築します。 {{lc|std::error_code}}引数が与えられた時に、この機能は{{lc|std::io_errc}}のコンストラクタによって呼び出されます.|Constructs an {{lc|std::error_code}} object from a value of type {{lc|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 {{lc|std::error_code}} when given an {{lc|std::io_errc}} argument.}}
+
{{c|return std::error_code(static_cast<int>(e), std::iostream_category())}} {{lc|std::io_errc}} {{lc|std::error_code}} {{lc|std::io_errc}} {{lc|std::error_code}}
  
===パラメータ===
+
======
 
{{par begin}}
 
{{par begin}}
{{par | e |{{tr| エラーコード番号が表示されます| error code number}}}}
+
{{par | e | }}
 
{{par end}}
 
{{par end}}
  
===値を返します===
+
======
{{tr|エラーカテゴリ{{lc|std::error_code}}に関連付け{{tt|e}}からのエラーコード番号を保持している型の{{c|"iostream"}}の値.|A value of type {{lc|std::error_code}} that holds the error code number from {{tt|e}} associated with the error category {{c|"iostream"}}.}}
+
エラーカテゴリ {{|}} {{tt|e}} {{lc|std::error_code}}
  
 
===例===
 
===例===
32行: 31行:
 
}}
 
}}
  
===参照===
+
======
 
{{dsc begin}}
 
{{dsc begin}}
{{dsc inc | cpp/error/error_code/dsc make_error_code}}
 
 
{{dsc inc | cpp/error/dsc error_code}}
 
{{dsc inc | cpp/error/dsc error_code}}
 
{{dsc inc | cpp/io/dsc io_errc}}
 
{{dsc inc | cpp/io/dsc io_errc}}

2018年6月23日 (土) 19:15時点における最新版

 
 
入出力ライブラリ
入出力マニピュレータ
Cスタイルの入出力
バッファ
(C++98で非推奨)
ストリーム
抽象
ファイル入出力
文字列入出力
配列入出力
(C++98で非推奨)
(C++98で非推奨)
(C++98で非推奨)
同期化出力
エラーカテゴリインタフェース
(C++11)
 
std::io_errc
非メンバ関数
make_error_code(std::io_errc)
ヘルパークラス
 
ヘッダ