enumerate.hpp
Go to the documentation of this file.
constexpr auto count(InitT init=InitT{0}, StepT step=StepT{1}) -> count_t< InitT, StepT >
Generator transducer produces a sequence:
Definition: count.hpp:78
const enumerate_t< std::size_t > enumerate
Equivalent to enumerate_from(std::size_t{}).
#define ABL_DECLTYPE_RETURN(body_expr)
Utility for defining generic functions with a deduced return type, that are composed of a single expr...
Definition: utils.hpp:109
constexpr auto enumerate_from(IntegralT &&init) -> enumerate_t< estd::decay_t< IntegralT > >
Transducer that given a sequence:
Definition: enumerate.hpp:102