N3784: Improvements to std::future and Related APIs -- Gustafsson, Laksberg, Sutter, Mithani
A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N3784Date: 2013-09-27
Improvements to std::future
and Related APIs by Niklas Gustafsson, Artur Laksberg, Herb Sutter, Sana Mithani
Excerpt:
This proposal is an evolution of the functionality of
std::future/std::shared_future. It details additions which can enable wait free compositions of asynchronous operations.This document supersedes N3634: the title has been changed, and the proposed changes have been modified to be expressed as edits to the C++ Draft Standard.
New in this version: implicit unwrapping (one level) of
future<future<R>>tofuture<R>inthen().

A little nugget about the free-as-in-no-overhead-ness of
In this article, Eric Niebler discusses an issue of API design regarding the age-old question of out parameters versus return-by-value, this time in light of move semantics. He uses