std::future_error::future_error

From cppreference.com
< cpp‎ | thread‎ | future error
 
 
Thread support library
Threads
(C++11)
this_thread namespace
(C++11)
(C++11)
(C++11)
(C++11)
Mutual exclusion
(C++11)
(C++11)
Generic lock management
(C++11)
(C++11)
(C++14)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
(C++11)
(C++11)
Condition variables
(C++11)
Futures
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
 
std::future_error
Member functions
future_error::future_error
 
future_error( std::error_code ec );
(since C++11)

Constructs a new future error object containing error code ec.

[edit] Parameters

ec - error code