Opened 8 years ago

Last modified 8 years ago

#10611 closed Feature Requests

Add emplace promise::set_value — at Initial Version

Reported by: viboes Owned by: Anthony Williams
Milestone: Boost 1.58.0 Component: thread
Version: Boost 1.57.0 Severity: Problem
Keywords: Cc:

Description

I wonder if we shouldn't have a emplace promise::set_value (as std::experimental::optional<T> has) and a emplace make_ready_future.

template <class ...Args>
promise<T>::set_value(Args&& ... args);

Change History (0)

Note: See TracTickets for help on using tickets.