Title
promise::swap should pass by rvalue reference
Status
nad
Section
[futures.promise]
Submitter
LWG

Created on 2009-06-28.00:00:00 last changed 163 months ago

Messages

Date: 2010-10-21.18:28:33

[ 2009-07 Frankfurt ]

NAD, by virtue of the changed rvalue rules and swap signatures from Summit.

Date: 2009-06-28.00:00:00

Addresses UK 341

Description

promise::swap accepts its parameter by lvalue reference. This is inconsistent with other types that provide a swap member function, where those swap functions accept an rvalue reference

Suggestion

Change promise::swap to take an rvalue reference.

Notes

Create an issue. Detlef will look into it. Probably ready as it.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg980
2009-06-28 00:00:00admincreate