Created on 2009-03-22.00:00:00 last changed 169 months ago
Proposed resolution:
In [futures.task], immediately after the definition of class template packaged_task add:
template<class R, class... Argtypes> void swap(packaged_task<R(ArgTypes...)>&, packaged_task<R(ArgTypes...)>&);
At the end of [futures.task] (after p. 20), add the following prototype description:
template<class R, class... Argtypes> void swap(packaged_task<R(ArgTypes...)>& x, packaged_task<R(ArgTypes...)>& y);Effects: x.swap(y)
Throws: Nothing.
Rationale:
Solved by N3058.
[ 2010 Pittsburgh: ]
Moved to
NAD EditorialResolved. Rationale added below.
[ 2009-10 post-Santa Cruz: ]
Move to Tentatively Ready, removing bullet 3 from the proposed resolution but keeping the other two bullets.
[ 2009-05-24 Daniel removed part 2 of the proposed resolution. ]
[ Batavia (2009-05): ]
Alisdair notes that paragraph 2 of the proposed resolution has already been applied in the current Working Draft.
We note a pending future-related paper by Detlef; we would like to wait for this paper before proceeding.
Move to Open.
Class template packaged_task in [futures.task] shows a member swap declaration, but misses to document it's effects (No prototype provided). Further on this class misses to provide a non-member swap.
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-12-05 14:14:49 | admin | set | status: nad editorial -> resolved |
2010-10-21 18:28:33 | admin | set | messages: + msg673 |
2010-10-21 18:28:33 | admin | set | messages: + msg672 |
2010-10-21 18:28:33 | admin | set | messages: + msg671 |
2010-10-21 18:28:33 | admin | set | messages: + msg670 |
2010-10-21 18:28:33 | admin | set | messages: + msg669 |
2010-10-21 18:28:33 | admin | set | messages: + msg668 |
2009-03-22 00:00:00 | admin | create |