std::experimental::promise (library fundamentals TS)
Min standard notice:
Header: <experimental/future>
This page is about the modified version of std::promise with type-erased allocator support provided by the Library Fundamentals TSes. For the version of promise provided by the concurrency TS supporting the std::future improvements made by that TS, see std::experimental::concurrency_v1::promise.
# Declarations
template< class R > class promise;
(library fundamentals TS)
template< class R > class promise<R&>;
(library fundamentals TS)
template<> class promise<void>;
(library fundamentals TS)