abort_reduce.hpp File Reference
#include <atria/xform/state_traits.hpp>
#include <atria/estd/utility.hpp>
#include <ableton/build_system/Warnings.hpp>
#include <exception>
#include <utility>

Go to the source code of this file.

Classes

struct  reduce_aborted_error_base
 
struct  reduce_aborted_error< T >
 Thrown by an impure transducer transducer when it is done and it should terminate early. More...
 

Namespaces

 atria
 C++ amazing templates and reusable implementations awesomeness.
 
 atria::xform
 Efficient and flexible C++ implementation of transducers.
 

Functions

template<typename StateT >
void abort_reduce (StateT &&state)
 Throws an holding state. More...
 
template<typename ReducingFnT , typename StateT , typename... InputTs>
auto abort_reduce (ReducingFnT &&step, StateT &&state, InputTs &&...ins) -> decltype(step(state, ins...))
 Like the unary version, but the result type is that of: step(state, ins...) More...
 
Fork me on GitHub