This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Resolved status.

1274. atomic_future constructor

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

Priority: Not Prioritized

View all other issues in [futures.atomic_future].

View all issues with Resolved status.

Discussion:

In 99 [futures.atomic_future] this constructor:

atomic_future(future<R>&&);

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.

Rationale:

Solved by N3058.

Proposed resolution:

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

atomic_future(atomic_future<R>&& rhs);