Modify

Opened 3 years ago

Closed 3 years ago

#10611 closed Feature Requests (fixed)

Add emplace promise::set_value and emplace make_ready_future

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

Description (last modified by viboes)

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);
 template <class T, class ...Args>
future<T> make_ready_future(Args&& ... args);

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by viboes

Description: modified (diff)
Owner: changed from Anthony Williams to viboes
Status: newassigned
Summary: Add emplace promise::set_valueAdd emplace promise::set_value and emplace make_ready_future

comment:3 Changed 3 years ago by viboes

Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain viboes.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.