Template Struct IndexedTuple< meta::index_sequence< Is… >, Ts… >
Defined in File tuple.hpp
Nested Relationships
Nested Types
Struct Documentation
-
template<usize... Is, typename ...Ts>
struct IndexedTuple<meta::index_sequence<Is...>, Ts...> Public Types
Public Functions
-
IndexedTuple() = default
- inline constexpr VEG_INLINE IndexedTuple (Tuplify, Ts... args) VEG_NOEXCEPT
- VEG_TEMPLATE ((typename _, typename... Fns), requires(VEG_CONCEPT(same< _, Tuplify >) &&VEG_ALL_OF(VEG_CONCEPT(fn_once< Fns, Ts >))), VEG_INLINE constexpr IndexedTuple,(, InPlace< _ >),(... fns, Fns)) VEG_NOEXCEPT_IF(VEG_ALL_OF(VEG_CONCEPT(nothrow_fn_once< Fns
- inline Ts VEG_FWD (fns)... }
-
VEG_EXPLICIT_COPY(IndexedTuple)
- inline VEG_NODISCARD VEG_INLINE VEG_CPP14 (constexpr) auto as_ref() const &VEG_NOEXCEPT -> Tuple< Ref< Ts >... >
- inline VEG_NODISCARD VEG_INLINE VEG_CPP14 (constexpr) auto as_mut() VEG_NOEXCEPT -> Tuple< RefMut< Ts >... >
- VEG_TEMPLATE ((isize I), requires(static_cast< usize >(I)< sizeof...(Ts)), VEG_NODISCARD VEG_INLINE VEG_CPP14(constexpr) auto operator[],(, Fix< I >)) &&VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_movable< ith< static_cast< usize >(I)
- inline VEG_TEMPLATE ((isize I), requires(static_cast< usize >(I)< sizeof...(Ts)), VEG_NODISCARD VEG_INLINE VEG_CPP14(constexpr) auto operator[],(, Fix< I >)) &VEG_NOEXCEPT -> ith< static_cast< usize >(I), Ts... > &
- inline VEG_TEMPLATE ((isize I), requires(static_cast< usize >(I)< sizeof...(Ts)), VEG_NODISCARD VEG_INLINE VEG_CPP14(constexpr) auto operator[],(, Fix< I >)) const &VEG_NOEXCEPT -> ith< static_cast< usize >(I), Ts... > const &
Public Members
- Ts ith< static_cast< usize >I), Ts... > {return __VEG_IMPL_LEAF_ONCE(*this, static_cast<usize>(I), ith<static_cast<usize>(I), Ts...>)
-
IndexedTuple() = default