xieite::type_list<Ts...>::erase<>

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


Erases a subrange of a xieite::type_list.


Declaration

template<std::size_t start, std::size_t end = start + 1>
using erase = /* xieite::type_list<???> */;


Example

import xieite;

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

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