std::is_error_condition_enum<std::errc>

From cppreference.com
< cpp‎ | error‎ | errc
 
 
Utilities library
General utilities
Date and time
Function objects
Formatting library (C++20)
(C++11)
Relational operators (deprecated in C++20)
Integer comparison functions
(C++20)(C++20)(C++20)   
(C++20)
Swap and type operations
(C++14)
(C++11)
(C++11)
(C++11)
(C++17)
Common vocabulary types
(C++11)
(C++17)
(C++17)
(C++17)
(C++11)
(C++17)
(C++23)
Elementary string conversions
(C++17)
(C++17)
 
Diagnostics library
Exception handling
Exception handling failures
(until C++17*)
(until C++17*)
(C++11)(until C++17*)    
(until C++17*)
Error codes
Error codes
 
std::errc
Non-member functions
Helper classes
is_error_condition_enum
 
Defined in header <system_error>
template<>
struct is_error_condition_enum<std::errc> : std::true_type;
(since C++11)

Specifies that std::errc is an error condition enum. This enables implicit conversion to std::error_condition.

Inherited from std::integral_constant

Member constants

value
[static]
true
(public static member constant)

Member functions

operator bool
converts the object to bool, returns value
(public member function)
operator()
(C++14)
returns value
(public member function)

Member types

Type Definition
value_type bool
type std::integral_constant<bool, value>

See also

identifies an enumeration as an std::error_condition
(class template)