Stripped down version of hana::tuple
.
Whereas hana::tuple
aims to provide an interface somewhat close to a std::tuple
, basic_tuple
provides the strict minimum required to implement a closure with maximum compile-time efficiency.
Sequence
, and all the concepts it refines
Synopsis of associated functions | |
template<> | |
constexpr auto | make< basic_tuple_tag > |
Function object for creating a basic_tuple . More... | |
constexpr auto | make_basic_tuple = make<basic_tuple_tag> |
Alias to make<basic_tuple_tag> ; provided for convenience. More... | |
Function object for creating a basic_tuple
.
Given zero or more objects xs...
, make<basic_tuple_tag>
returns a new basic_tuple
containing those objects. The elements are held by value inside the resulting tuple, and they are hence copied or moved in. This is analogous to std::make_tuple
for creating basic_tuple
s.
|
related |
Alias to make<basic_tuple_tag>
; provided for convenience.