xieite ::type_list <Ts ...>::dedup <>
Defined in header <xieite/meta/type_list.hpp>
Deduplicates the elements of a
xieite ::type_list {}
.Declaration
template <auto cmp = []<typename T ,std ::same_as <T >> {}>using dedup =/* xieite::type_list<???> */ ;
Example
Possible output:int main () {using List =xieite ::type_list <int ,char ,int ,int ,char ,float ,char >;xieite ::dump (xieite ::name <List ::dedup <>>()); }
[View in Compiler Explorer]xieite::type_list<int, char, float>