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
Possible output:import xieite ;int main () {using List =xieite ::type_list <int ,char ,float ,double >;xieite ::dump (xieite ::name <List ::rplc <1 ,3 ,short ,long >>()); }
[View in Compiler Explorer]xieite::type_list<int, short, long, double>