product.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 product_t = transducer_impl< detail::product_rf_gen, T >
 

Functions

template<typename InputRangeT >
constexpr auto product (InputRangeT &&r) -> product_t< estd::decay_t< InputRangeT > >
 Transducer combines every element that passes by with every element in the sequence that it takes as arguemnt. More...
 
template<typename InputRangeT1 , typename InputRangeT2 , typename... InputRangeTs>
constexpr auto product (InputRangeT1 &&r1, InputRangeT2 &&r2, InputRangeTs &&...rs) -> decltype(comp(product(std::forward< InputRangeT1 >(r1)), product(std::forward< InputRangeT2 >(r2)), product(std::forward< InputRangeTs >(rs))...))
 
Fork me on GitHub