xieite::type_list<Ts...>::prepend<>

Defined in fragment xieite:type_list
(header-only: <xieite/meta/type_list.hpp>)


Prepends types to the front of a xieite::type_list.


Declaration

template<typename... Us>
using prepend = xieite::type_list<Ts..., Us...>;


Example

import xieite;

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

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