xieite ::type_list <Ts ...>::dedup <>
Defined in fragment xieite :type_list
(header-only:
<xieite/meta/type_list.hpp>
)
Deduplicates the elements of a
xieite ::type_list
.Declaration
template <auto comp = []<typename T ,std ::same_as <T >> {}>using dedup =/* xieite::type_list<???> */ ;
Example
Possible output:import xieite ;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>