std::promise<R>::set_exception_at_thread_exit

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

# Return value

(none)

# Example

This section is incompleteReason: no example

# See also