You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
: _View_as_tuple<array<_Ty, _Size - 1>, _Ty, _Types...> { // view an array as a tuple; counts down to 0
};
This is unnecessary. We could simply use tuple_size and tuple_element to accept anything resembling a tuple.
The Standardese is N4835 [tuple.creation]/12 "[Note: An implementation may support additional types in the template parameter pack Tuples that support the tuple-like protocol, such as pair and array. -end note]"
The text was updated successfully, but these errors were encountered:
When I overhauled
tuple_cat()
long ago, I special-casedpair
andarray
:STL/stl/inc/tuple
Lines 870 to 893 in d0d724f
This is unnecessary. We could simply use
tuple_size
andtuple_element
to accept anything resembling atuple
.The Standardese is N4835 [tuple.creation]/12 "[Note: An implementation may support additional types in the template parameter pack
Tuples
that support thetuple
-like protocol, such aspair
andarray
. -end note]"The text was updated successfully, but these errors were encountered: