std:: is_error_condition_enum <std::errc>
From cppreference.net
C++
Utilities library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Diagnostics library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::errc
| Non-member functions | ||||
| Helper classes | ||||
|
is_error_condition_enum
|
|
헤더에 정의됨
<system_error>
|
||
|
template
<>
struct is_error_condition_enum < std:: errc > : std:: true_type ; |
(C++11부터) | |
std::errc 가 에러 조건 열거형임을 지정합니다. 이를 통해 std::error_condition 으로의 암시적 변환이 가능해집니다.
목차 |
std:: integral_constant 에서 상속됨
멤버 상수
|
value
[static]
|
true
(public static member constant) |
멤버 함수
|
operator bool
|
객체를
bool
로 변환,
value
반환
(public member function) |
|
operator()
(C++14)
|
value
반환
(public member function) |
멤버 타입
| 타입 | 정의 |
value_type
|
bool |
type
|
std:: integral_constant < bool , value > |
참고 항목
|
(C++11)
|
열거형을
std::error_condition
로 식별함
(클래스 템플릿) |