Counts the number of elements in the list which satisfy a predicate.
More...
#include <type_list.hpp>
|
static constexpr size_t | value |
|
template<class List, template< class > class Pred>
struct caf::detail::tl_count< List, Pred >
Counts the number of elements in the list which satisfy a predicate.
◆ value
template<class List , template< class > class Pred>
Initial value:=
(Pred<tl_head_t<List>>::value ? 1 : 0)
+ tl_count<tl_tail_t<List>, Pred>::value
The documentation for this struct was generated from the following file:
- /build/actor-framework-aen7Bs/actor-framework-0.17.6/libcaf_core/caf/detail/type_list.hpp