cycle.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 T >
using cycle_t = transducer_impl< detail::cycle_rf_gen, T >
 

Functions

template<typename InputRangeT >
constexpr auto cycle (InputRangeT &&r) -> cycle_t< estd::decay_t< InputRangeT > >
 Generator transducer produces the sequence passed as parameter, by cycling over it. More...
 
template<typename InputRangeT , typename... InputRangeTs>
constexpr auto cycle (InputRangeT &&r, InputRangeTs &&...rs) -> decltype(comp(cycle(std::forward< InputRangeT >(r)), cycle(std::forward< InputRangeTs >(rs))...))
 
Fork me on GitHub