std::error_code::error_code
cppreference.com
<tbody>
</tbody>
error_code() noexcept; |
(1) | ( C++11) |
error_code( int ec, const error_category& ecat ) noexcept; |
(2) | ( C++11) |
template< class ErrorCodeEnum > error_code( ErrorCodeEnum e ) noexcept; |
(3) | ( C++11) |
error_code( const error_code& other ) = default; |
(4) | ( C++11) ( ) |
error_code( error_code&& other ) = default; |
(5) | ( C++11) ( ) |
.
1) .
error_code(0, std::system_category()).4,5) .
other.| other | ||
| ec | , | |
| ecat | , ec
| |
| e |
C++:
| LWG 3629 | C++11 | std::make_error_code
|
, ADL |
(C++11) |
std::errc () |
| iostream () | |
| () |