xieite ::type_list <Ts ...>::insert <>
Defined in header <xieite/meta/type_list.hpp>
Inserts types into a
xieite ::type_list {}
.Declaration
template <std ::size_t idx ,typename... Us >using insert =xieite ::type_list <Ts ...>::replace <idx ,idx ,Us ...>;
Example
Possible output:int main () {using List =xieite ::type_list <int ,char >::insert <1 ,float ,double >;xieite ::dump (xieite ::name <List >()); }
[View in Compiler Explorer]xieite::type_list<int, float, double, char>