xieite::type_list<Ts...>::repeat<>

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


Repeats the elements of a xieite::type_list some number of times.


Declaration

template<std::size_t n>
using repeat = /* xieite::type_list<???> */;


Example

import xieite;

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

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