iter.hpp
Go to the documentation of this file.
#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
auto state_unwrap(T &&s) -> decltype(state_traits_t< T >::unwrap(std::forward< T >(s)))
Convenience function for calling state_traits::unwrap
Definition: state_traits.hpp:136
auto state_data(T &&s, D &&d) -> decltype(state_traits_t< T >::data(std::forward< T >(s), std::forward< D >(d)))
Convenience function for calling state_traits::data
Definition: state_traits.hpp:127
constexpr auto range(StopT &&stop) -> decltype(comp( count(), take(std::forward< StopT >(stop))))
Generator transducer version of Python range
Definition: range.hpp:42
constexpr auto iter(InputRangeT &&r) -> iter_t< estd::decay_t< InputRangeT > >
Generator transducer produces the sequence passed as parameter, by iterating over it...
Definition: iter.hpp:90
Utility to write simple transducers easily.
Definition: transducer_impl.hpp:60