xieite::type_list<Ts...>::rplc<>

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


Replaces a subrange of a xieite::type_list between two indices with other types. The end index is exclusive.


Declaration

template<std::size_t start, std::size_t end, typename... Us>
using rplc = /* xieite::type_list<???> */;


Example

import xieite;

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

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