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