xieite ::type_list <Ts ...>::set <>
Defined in header <xieite/meta/type_list.hpp>
Replaces one element of a
xieite ::type_list {}
.Declaration
template <std ::size_t idx ,typename T >using set =xieite ::type_list <Ts ...>::replace <idx ,idx +1 ,T >;
Example
Possible output:int main () {using List =xieite ::type_list <int ,char ,float ,double >::set <1 ,void >;xieite ::dump (xieite ::name <List >()); }
[View in Compiler Explorer]xieite::type_list<int, void, float, double>