Re: [Boost-bugs] [Boost C++ Libraries] #10611: Add emplace promise::set_value and emplace make_ready_future (was: Add emplace promise::set_value)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10611: Add emplace promise::set_value and emplace make_ready_future (was: Add emplace promise::set_value)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-05 10:21:04


#10611: Add emplace promise::set_value and emplace make_ready_future
-------------------------------+----------------------
  Reporter: viboes | Owner: viboes
      Type: Feature Requests | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------
Changes (by viboes):

 * owner: anthonyw => viboes
 * status: new => assigned


Old 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);
> }}}

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

--
-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10611#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC