|
tinympl
0.2
mini MPL library for C++11
|
Counts the number of elements in a sequence equal to a given one. More...
#include <tinympl/variadic/count.hpp>
Inherits tinympl::variadic::count_if< bind< equal_to, arg1, T >::template eval_t, Args... >.
Counts the number of elements in a sequence equal to a given one.
| T | the type to be tested. |
| Args... | the input sequence |
count<...>::type is std::integral_constant<std::size_t,V> where V is the number of elements in the sequence equal to T