Title
tuple query APIs do not support references
Status
nad
Section
[tuple.helper]
Submitter
Alisdair Meredith

Created on 2009-05-23.00:00:00 last changed 171 months ago

Messages

Date: 2010-10-21.19:00:35

[ 2010 Rapperswil: ]

Move to NAD. This is an extension after the FCD, without a clear motivation. May consider as NAD Future if motivating examples come forward.

Date: 2010-10-21.18:28:33

[ 2009-10 post-Santa Cruz: ]

Move to Open. Alisdair to provide wording.

Date: 2009-05-23.00:00:00

The tuple query APIs tuple_size and tuple_element do not support references-to-tuples. This can be annoying when a template deduced a parameter type to be a reference, which must be explicitly stripped with remove_reference before calling these APIs.

I am not proposing a resolution at this point, as there is a combinatorial explosion with lvalue/rvalue references and cv-qualification (see previous issue) that suggests some higher refactoring is in order. This might be something to kick back over to Core/Evolution.

Note that we have the same problem in numeric_limits.

History
Date User Action Args
2010-10-21 19:00:35adminsetmessages: + msg4745
2010-10-21 19:00:35adminsetstatus: open -> nad
2010-10-21 18:28:33adminsetmessages: + msg813
2009-05-23 00:00:00admincreate