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

import std;
import xieite;

int main() {
	using List = xieite::type_list<int, char, float, double>;

	xieite::dump(xieite::name<List::to<std::tuple>>());
}
Possible output:
std::tuple<int, char, float, double>
[View in Compiler Explorer]