xieite ::type_list <Ts ...>::slice <>
Defined in header <xieite/meta/type_list.hpp>
Extracts a subrange of a
xieite ::type_list {}
. The end index is exclusive.Declaration
template <std ::size_t start ,std ::size_t end =sizeof... (Ts )>requires ((start <=end ) && (end <=sizeof... (Ts )))using slice =/* xieite::type_list<???> */ ;
Example
Possible output:int main () {using List =xieite ::type_list <int ,char ,float ,double >;xieite ::dump (xieite ::name <List ::slice <1 ,3 >>()); }
[View in Compiler Explorer]xieite::type_list<char, float>