xieite ::type_list <Ts ...>::to <>
Defined in fragment xieite :type_list
(header-only:
<xieite/meta/type_list.hpp>
)
Instantiates another template with the elements of a
xieite ::type_list
as the arguments.Declaration
template <template <typename... >typename M >using to =M <Ts ...>;
Example
Possible output:import std ;import xieite ;int main () {using List =xieite ::type_list <int ,char ,float ,double >;xieite ::dump (xieite ::name <List ::to <std ::tuple >>()); }
[View in Compiler Explorer]std::tuple<int, char, float, double>