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_not< 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 ? 0 : 1) +
tl_count_not<tl_tail_t<List>, Pred>::value
The documentation for this struct was generated from the following file:
- /build/actor-framework-ZoJQKb/actor-framework-0.17.6/libcaf_core/caf/detail/type_list.hpp