algorithm.hpp File Reference

Contains several algorithms and matador functions. More...

Namespaces

namespace  matador
 The Open Object Store namespace.
 

Functions

template<class InputIterator , class Function , class Predicate >
Function matador::for_each_if (InputIterator first, InputIterator last, Predicate pred, Function f)
 Applies a function if element is valid with given predicate.
 
template<class InputIterator , class Function , class T >
Function matador::for_each_equal (InputIterator first, InputIterator last, const T &value, Function f)
 Applies a function if element is equal to the given value.
 

Detailed Description

Contains several algorithms and matador functions.

This file contains several functional extensions for the OOS (i.e. for_each_xxx). The are also usable with the STL.