count.hpp File Reference

Go to the source code of this file.

Namespaces

 atria
 C++ amazing templates and reusable implementations awesomeness.
 
 atria::xform
 Efficient and flexible C++ implementation of transducers.
 

Typedefs

template<typename T1 , typename T2 >
using count_t = transducer_impl< detail::count_rf_gen, T1, T2 >
 

Functions

template<typename InitT = std::size_t, typename StepT = InitT>
constexpr auto count (InitT init=InitT{0}, StepT step=StepT{1}) -> count_t< InitT, StepT >
 Generator transducer produces a sequence: More...
 
Fork me on GitHub