xieite ::type_list <Ts ...>::insert_range <>
Defined in header <xieite/meta/type_list.hpp>
Inserts the elements of one
xieite ::type_list {}
into another.Declaration
template <std ::size_t idx ,typename R >using insert_range =xieite ::type_list <Ts ...>::replace_range <idx ,idx ,List >;
Example
Possible output:int main () {using Foo =xieite ::type_list <int ,char >;using Bar =xieite ::type_list <float ,double >;xieite ::dump (xieite ::name <Foo ::insert_range <1 ,Bar >>()); }
[View in Compiler Explorer]xieite::type_list<int, float, double, char>