#include <capd/homAux/RangeAlgorithms.h>
|
| RangeAlgorithms (bool isStd=true) |
|
template<typename Rng , typename Cmp = std::less<typename Rng::value_type>> |
void | sort (Rng &rng, Cmp cmp=Cmp()) |
|
template<typename Func , typename Rng > |
void | forEach (Rng &rng, Func func=Func()) |
|
template<typename Func , typename T1 , typename T2 > |
void | forLoop (T1 _begin, T2 end, Func func=Func()) |
|
template<typename Rng , typename OutRng > |
void | partialSum (const Rng &rng, OutRng &out) |
|
template<class Rng > |
boost::range_iterator< Rng >::type | maxElement (const Rng &rng) |
|
template<typename Rng , typename Value , typename Op = std::plus<Value>> |
Value | accumulate (const Rng &rng, Value init, Op op=Op()) |
|
template<typename Rng , typename Value , typename Op = std::plus<Value>>
template<typename Func , typename Rng >
template<typename Func , typename T1 , typename T2 >
template<typename Rng , typename OutRng >
template<typename Rng , typename Cmp = std::less<typename Rng::value_type>>