Go to the documentation of this file.
    9 #ifndef EAGINE_COUNT_HPP 
   10 #define EAGINE_COUNT_HPP 
   16 template <
typename Int = 
int>
 
   23     constexpr 
count_t() noexcept = default;
 
   38     template <
typename... P>
 
   49 #endif // EAGINE_COUNT_HPP 
  
constexpr value_type value() const noexcept
Returns the current value on the counter.
Definition: count.hpp:26
 
Class counting invocation of its call operator.
Definition: count.hpp:17
 
Common code is placed in this namespace.
Definition: eagine.hpp:21
 
constexpr void operator()(const P &...) noexcept
Call operator incrementing the counter state.
Definition: count.hpp:39
 
constexpr count_t() noexcept=default
Default construction, initializes counter to zero.
 
Int value_type
The value type alias.
Definition: count.hpp:20