product.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
constexpr auto range(StopT &&stop) -> decltype(comp( count(), take(std::forward< StopT >(stop))))
Generator transducer version of Python range
Definition: range.hpp:42
Utility to write simple transducers easily.
Definition: transducer_impl.hpp:60
auto state_is_reduced(T &&s) -> bool
Convenience function for calling state_traits::is_reduced
Definition: state_traits.hpp:118
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 ...
Definition: product.hpp:90