readbuf.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 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 readbuf(InputStreamT &stream) -> readbuf_t< std::reference_wrapper< InputStreamT >, std::array< char, N > >
Generator transducer that reads buffers of size N from stream, and passes them into the sequence...
Definition: readbuf.hpp:89
Utility to write simple transducers easily.
Definition: transducer_impl.hpp:60
auto reduced_if(T &&x, bool is_reduced) -> maybe_reduced< estd::decay_t< T > >
Wraps x in a maybe_reduced, where is_reduced contains whether the reduction should actually finish...
Definition: maybe_reduced.hpp:60