Title
[tiny] Unspecialized std::tuple_size should be defined
Status
open
Section
[tuple.general]
Submitter
Nevin Liber

Created on 2013-03-19.00:00:00 last changed 143 months ago

Messages

Date: 2014-07-01.21:57:43

In 20.4.1p2, the unspecialized std::tuple_size is undefined. It would be a lot more useful if it were defined as an empty struct; that way, it can be used with enable_if for determining whether or not it is valid to use tuple_size, tuple_element and get on the corresponding data structure.

This should go to LEWG.

Filed as LEWG Bug 42, closing as Resolved on the EWG side.

History
Date User Action Args
2013-03-19 00:00:00admincreate