Template Struct BasicTuple¶
- Defined in File basic_tuple_.hpp 
Inheritance Relationships¶
Base Type¶
- public ripple::detail::TupleStorage< std::make_index_sequence< sizeof...(Ts)>, Ts... >(Template Struct TupleStorage)
Struct Documentation¶
- 
template<typename ...Ts>
 structripple::detail::BasicTuple: public ripple::detail::TupleStorage<std::make_index_sequence<sizeof...(Ts)>, Ts...>¶
- A basic tuple class, which is essentially just a cleaner interface for TupleStorage. - The types are laid out in memory in the same order in which they are present in the varaidic parameter pack, - See
- Template Parameters
- Ts: The types of the tuple elements.
 
 - Public Types - 
using Base= TupleStorage<IndexSeq, Ts...>¶
- Alias for the base type of the Tuple. 
 - Public Functions - 
constexpr BasicTuple() = default¶
- Default constructor to create an uninitialized tuple. 
 - 
template<typename ...Types>
 constexprBasicTuple(Types&&... elements) noexcept¶
- Creates a BasicTuple from a variadic list of elements. - Note
- This overload is called if the the elements are forwarding reference types. 
- Parameters
- elements: The elements for the tuple.
 
- Template Parameters
- Types: The types of the elements for the tuple.
 
 
 - 
template<typename ...Types>
 constexprBasicTuple(const Types&... elements) noexcept¶
- Creates a BasicTuple from a variadic list of elements. - Note
- This overload is called if the the elements are constant lvalue reference types. 
- Parameters
- elements: The elements for the BasicTuple.
 
- Template Parameters
- Types: The types of the elements for the BasicTuple.