22 Containers library [containers]

22.7 Views [views]

22.7.3 Class template span [views.span]

22.7.3.9 Tuple interface [span.tuple]

template<class ElementType, size_t Extent> struct tuple_size<span<ElementType, Extent>> : integral_constant<size_t, Extent> { };
template<size_t I, class ElementType, size_t Extent> struct tuple_element<I, span<ElementType, Extent>> { using type = ElementType; };
Mandates: Extent != dynamic_­extent && I < Extent is true.
template<size_t I, class ElementType, size_t Extent> constexpr ElementType& get(span<ElementType, Extent> s) noexcept;
Mandates: Extent != dynamic_­extent && I < Extent is true.
Returns: s[I].