1274. atomic_future constructor

Section: 99 [futures.atomic_future] Status: Resolved Submitter: Jonathan Wakely Opened: 2009-11-22 Last modified: 2016-01-28 10:19:27 UTC

Priority: Not Prioritized

View all other issues in [futures.atomic_future].

View all issues with Resolved status.


In 99 [futures.atomic_future] this constructor:


is declared in the synopsis, but not defined. Instead n2997 defines:

atomic_future(const future<R>&& rhs);

and n3000 defines

atomic_future(atomic_future<R>&& rhs);

both of which are wrong. The constructor definition should be changed to match the synopsis.

[ 2009-12-12 Moved to Tentatively Ready after 5 positive votes on c++std-lib. ]

[ 2010 Pittsburgh: ]

Moved to NAD EditorialResolved. Rationale added below.


Solved by N3058.

Proposed resolution:

Adjust the signature above 99 [futures.atomic_future]/6 like so:

atomic_future(atomic_future<R>&& rhs);