read.hpp
Go to the documentation of this file.
auto reduced(T &&x) -> decltype(reduced_if(std::forward< T >(x), true))
Wraps x such that the reduction should finish.
Definition: maybe_reduced.hpp:73
auto call(ReducingFnT &&step, StateT &&state, InputTs &&...ins) -> estd::enable_if_t< is_skip_state< estd::decay_t< StateT > >
Call the next reducing function in a transducer that could otherwise skip calling the next reducing f...
Definition: skip.hpp:276
#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
Utility to write simple transducers easily.
Definition: transducer_impl.hpp:60
auto not_reduced(T &&x) -> decltype(reduced_if(std::forward< T >(x), false))
Wraps x such that the reduction should continue.
Definition: maybe_reduced.hpp:81
auto read(InputStreamT &stream) -> read_t< T, std::reference_wrapper< InputStreamT > >
Generator transducer that produces a sequence of values of type T read from the given stream using th...
Definition: read.hpp:88
auto skip(ReducingFnT &&, StateT &&state, InputTs &&...) -> skip_result_t< ReducingFnT, StateT, InputTs... >
Skip calling the next reducing function in a transducer.
Definition: skip.hpp:228