Template Struct TupleStorage< std::index_sequence< Is… >, Ts… >¶
Defined in File basic_tuple_.hpp
Inheritance Relationships¶
Base Type¶
public ripple::detail::Element< Is, Ts >
(Template Struct Element)
Struct Documentation¶
-
template<size_t...
Is
, typename ...Ts
>
structripple::detail
::
TupleStorage
<std::index_sequence<Is...>, Ts...> : public ripple::detail::Element<Is, Ts>¶ Specializatiion of the tuple storage implementation.
- Template Parameters
Is
: The indices for the locations of the elements.Ts
: The types of the elements.
Public Functions
-
constexpr
TupleStorage
() = default¶ Default constructor.
-
template<typename ...
Types
>
constexprTupleStorage
(Types&&... elements) noexcept¶ Constructor to set the elements of the tuple storage.
- Note
This overload is selected when the elements are forwarding reference types.
- Parameters
elements
: The elements to use to set the tuple.
- Template Parameters
Types
: The types of the elements.
-
template<typename ...
Types
>TupleStorage
(const Types&... elements) noexcept¶ Constructor to set the elements of the tuple storage.
- Note
This overload is selected when the elements are const lvalue references, and copies the elements.
- Parameters
elements
: The elements to use to set the tuple.
- Template Parameters
Types
: The types of the elements.