std::operator<<(std::error_code)
提供: cppreference.com
<tbody>
</tbody>
| ヘッダ <system_error> で定義
|
||
template< class CharT, class Traits > std::basic_ostream<CharT,Traits>& operator<<( basic_ostream<CharT,Traits>& os, const error_code& ec ); |
(C++11以上) | |
エラーコード ec に対するストリーム出力操作を行います。
os << ec.category().name() << ':' << ec.value() と同等です。
引数
| os | - | データを挿入する出力ストリーム |
| ec | - | error code |
戻り値
os。