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