tinympl
0.2
mini MPL library for C++11
|
Determines whether the input sequence contains only unique elements. More...
#include <tinympl/variadic/is_unique.hpp>
Determines whether the input sequence contains only unique elements.
Args... | the input sequence |
is_unique<...>::type
is a std::integral_constant<bool,v>
where v
is true iff the input sequence contains no duplicates std::sort
, the input sequence is not required to be sorted, but the compile time complexity is O(N^2)