CAF  0.17.6
Static Public Attributes | List of all members
caf::detail::tl_count_not< List, Pred > Struct Template Reference

Counts the number of elements in the list which satisfy a predicate. More...

#include <type_list.hpp>

Static Public Attributes

static constexpr size_t value
 

Detailed Description

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.

Member Data Documentation

◆ value

template<class List , template< class > class Pred>
constexpr size_t caf::detail::tl_count_not< List, Pred >::value
staticconstexpr
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: