chain.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 chainr_t = transducer_impl< detail::chainr_rf_gen, T >
 
template<typename T >
using chainl_t = transducer_impl< detail::chainl_rf_gen, T >
 

Functions

template<typename InputRangeT >
constexpr auto chainr (InputRangeT &&r) -> chainr_t< estd::decay_t< InputRangeT > >
 Transducer produces the sequence passed as parameter after all other input has finished. More...
 
template<typename InputRangeT , typename... InputRangeTs>
constexpr auto chainr (InputRangeT &&r, InputRangeTs &&...rs) -> decltype(comp(chainr(std::forward< InputRangeT >(r)), chainr(std::forward< InputRangeTs >(rs))...))
 
template<typename... InputRangeTs>
constexpr auto chain (InputRangeTs &&...rs) -> decltype(chainr(std::forward< InputRangeTs >(rs)...))
 Alias for chainr More...
 
template<typename InputRangeT >
constexpr auto chainl (InputRangeT &&r) -> chainl_t< estd::decay_t< InputRangeT > >
 Transducer produces the sequence passed as parameter before processing the first input. More...
 
template<typename InputRangeT , typename... InputRangeTs>
constexpr auto chainl (InputRangeT &&r, InputRangeTs &&...rs) -> decltype(comp(chainl(std::forward< InputRangeT >(r)), chainl(std::forward< InputRangeTs >(rs))...))
 
Fork me on GitHub