Namespaces
Variants

std:: is_error_code_enum <std::future_errc>

From cppreference.net
Concurrency support library
Threads
(C++11)
(C++20)
this_thread namespace
(C++11)
(C++11)
Cooperative cancellation
Mutual exclusion
Generic lock management
Condition variables
(C++11)
Semaphores
Latches and Barriers
(C++20)
(C++20)
Futures
(C++11)
(C++11)
(C++11)
Safe reclamation
Hazard pointers
Atomic types
(C++11)
(C++20)
Initialization of atomic types
(C++11) (deprecated in C++20)
(C++11) (deprecated in C++20)
Memory ordering
(C++11) (deprecated in C++26)
Free functions for atomic operations
Free functions for atomic flags
std::future_errc
Non-member functions
Helper classes
is_error_code_enum
헤더에 정의됨 <future>
template <>
struct is_error_code_enum < std:: future_errc > : std:: true_type ;
(C++11부터)

std::future_errc 가 에러 코드 열거형임을 지정합니다. 이를 통해 std::error_code 의 자동 변환이 가능해집니다.

참고 항목

클래스를 error_code 열거형으로 식별함
(클래스 템플릿)