I'd like to have the following helper:
is_duplicate< std::tuple<int, double, char, double, float > >::value
where value is:
- true when there are duplicates.
- false when there aren't duplicates.
I don't know how to recursively iterate the tuple to perform the check. I don't know that strategies exists to solve this problem.
Can someone explain me how to create this helper?