Title
Nonesense tuple declarations
Status
nad editorial
Section
[tuple.tuple]
Submitter
Pete Becker

Created on 2009-03-20.00:00:00 last changed 172 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

In [tuple.tuple], class tuple, change as indicated:

template <class... UTypes>
  requires Constructible<Types, const UTypes&>...
  tuple(const pair<UTypes...>&);
template <class... UTypes>
  requires Constructible<Types, RvalueOf<UTypes>::type>...
  tuple(pair<UTypes...>&&);

[NB.: The corresponding prototypes do already exist in [tuple.cnstr]/7+8]

Date: 2010-10-21.18:28:33

[ Batavia (2009-05): ]

The resolution looks correct; move to NAD Editorial.

Date: 2009-03-21.00:00:00

[ 2009-03-21 Daniel provided wording. ]

Date: 2009-03-20.00:00:00

Class template tuple [tuple.tuple]:

template <class... UTypes>
  requires Constructible<Types, const UTypes&>...
template <class... UTypes>
  requires Constructible<Types, RvalueOf<UTypes>::type>...

Somebody needs to look at this and say what it should be.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg613
2010-10-21 18:28:33adminsetmessages: + msg612
2010-10-21 18:28:33adminsetmessages: + msg611
2009-03-20 00:00:00admincreate