[ Web Proxy ]
URL:
Viewing: https://ru.cppreference.com/cpp/error/error_condition/error_condition [Back]  [Original]

std::error_condition::error_condition cppreference.com
cppreference.com

std::error_condition::error_condition

cppreference.com
 
C++
(C++20)
(C++20)
(C++11)
(C++20)
/
(C++11)
(C++11)
(C++11)
(C++17)
 
 
 
 
<tbody> </tbody>
error_condition() noexcept;
(1) ( C++11)
error_condition( int val, const error_category& cat ) noexcept;
(2) ( C++11)
template< class ErrorConditionEnum > error_condition( ErrorConditionEnum e ) noexcept;
(3) ( C++11)
error_condition( const error_condition& other ) = default;
(4) ( C++11)
( )
error_condition( error_condition&& other ) = default;
(5) ( C++11)
( )

.

1) . 0.
2) val cat.
3) e. make_error_condition, , e. , std::is_error_condition_enum<ErrorConditionEnum>::value true.
4,5) . other.

other
val
cat
e

C++:

LWG 3629 C++11 std::make_error_condition , ADL

errc e
() []
iostream
() []
error_condition
() []

Web Proxy Viewer  |  New URL  |  Original Page