std::promise<R>::set_exception_at_thread_exit
Min standard notice:
Stores the exception pointer p into the shared state without making the state ready immediately. The state is made ready when the current thread exits, after all variables with thread-local storage duration have been destroyed.
# Declarations
void set_exception_at_thread_exit( std::exception_ptr p );
(since C++11)
# Parameters
p: exception pointer to store. The behavior is undefined if p is nullptr
# Return value
(none)
# Example
This section is incompleteReason: no example