ΒΆtemplate <class... Ts>
inline constexpr auto tuple(Ts&&... vs) noexcept

Description

Used to construct a [`Tuple`]($sus::tuple_type::Tuple) with the parameters as its values. Calling `tuple()` produces a hint to make a [`Tuple`]( $sus::tuple_type::Tuple) but does not actually construct [`Tuple`]($sus::tuple_type::Tuple), as the types in the [`Tuple`]($sus::tuple_type::Tuple) are not known yet here and are not assumed to be the same as the parameters. The marker type holds a refernce to each parameter, allowing it to construct a [`Tuple`]($sus::tuple_type::Tuple) which holds references correctly. The marker must be consumed immediately into a [`Tuple`]( $sus::tuple_type::Tuple) variable, which is normally done by using the `tuple` function as a function argument or in a return statement.

Declared at: sus/tuple/tuple.h:512

Templates

Ts

Parameters

Ts&&... vs