Title
pack_arguments overly complex
Status
c++11
Section
[tuple.creation]
Submitter
INCITS

Created on 2010-08-25.00:00:00 last changed 162 months ago

Messages

Date: 2011-05-09.23:20:35

Proposed resolution:

This issue resulted from a lack of understanding of how references are forwarded. The definition of pack_arguments should be simply:
template <class... Types> tuple<ATypes&&> pack_arguments(Types&&...t);
Types: Let Ti be each type in Types....
Effects: ...
Returns:
tuple<ATypes&&...>(std::forward<Types>(t)...)
The synopsis should also change to reflect this simpler signature.

Date: 2010-10-24.10:50:39

[ Resolved in Rapperswil by a motion to directly apply the words from the ballot comment in N3102. ]

Date: 2010-10-24.10:50:39

Addresses US-99

pack_arguments is overly complex.

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2010-10-24 10:50:39adminsetmessages: + msg5004
2010-10-24 10:50:39adminsetstatus: nad editorial -> wp
2010-10-21 19:47:27adminsetmessages: + msg4797
2010-08-25 00:00:00admincreate