xieite ::type_list <Ts ...>::insert <>
Defined in fragment xieite :type_list
(header-only:
<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 ...>::rplc <idx ,idx ,Us ...>;
Example
Possible output:import xieite ;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>