Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
arene::base::integer_sequence_count_of< Sequence, Value > Class Template Reference

Get the number of occurrences of a value in the provided sequence. The result is stored in the value member. More...

Inheritance diagram for arene::base::integer_sequence_count_of< Sequence, Value >:
Inheritance graph

Additional Inherited Members

- Public Types inherited from std::integral_constant< std::size_t, integer_sequence_ops_detail::get_integer_sequence_count_of(Value, Sequence{})>
using type
 The type of this class.
 
using value_type
 The type of the value.
 
- Public Member Functions inherited from std::integral_constant< std::size_t, integer_sequence_ops_detail::get_integer_sequence_count_of(Value, Sequence{})>
constexpr operator value_type () const noexcept
 Implicit conversion to Type.
 
constexpr auto operator() () const noexcept -> value_type
 Nullary function call operator.
 
- Static Public Attributes inherited from std::integral_constant< std::size_t, integer_sequence_ops_detail::get_integer_sequence_count_of(Value, Sequence{})>
static constexpr value_type value
 The constant.
 

Detailed Description

template<typename Sequence, typename Sequence::value_type Value>
class arene::base::integer_sequence_count_of< Sequence, Value >

Get the number of occurrences of a value in the provided sequence. The result is stored in the value member.

Template Parameters
Sequencethe sequence to search
valuethe value to search for
Precondition
Sequence must be an instantiation of std::integer_sequence.

The documentation for this class was generated from the following file: