13 #ifndef TINYMPL_VARIADIC_COUNT_HPP 
   14 #define TINYMPL_VARIADIC_COUNT_HPP 
   16 #include <tinympl/variadic/count_if.hpp> 
   17 #include <tinympl/bind.hpp> 
   18 #include <tinympl/equal_to.hpp> 
   35 template<
typename T, 
class ... Args>
 
   36 struct count : 
count_if< bind<equal_to, arg1, T>::template eval_t, Args ... >
 
   43 #endif // TINYMPL_VARIADIC_COUNT_HPP 
Counts the number of elements in a sequence equal to a given one. 
Definition: count.hpp:36
Counts the number of elements which satisfy a given predicate. 
Definition: count_if.hpp:33