Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

algorith.hpp File Reference

#include "alg/algorith.h"

Go to the source code of this file.

Namespaces

namespace  algorithm

Functions

template<class Cont, class Pred>
void algorithm::find_if (Cont &cont, Pred &pr, const mutex &mtx)
 find_if thread safe method
template<class Cont, class Pred>
void algorithm::for_each (Cont &cont, Pred &pr, const mutex &mtx)
 for_each thread safe method
template<class Cont, class Pred>
void algorithm::remove_if (Cont &cont, Pred &pr, const mutex &mtx)
 remove_if thread safe method
template<class Al, class Obj, class Cont>
void algorithm::push_back (Al &al, Cont &cont, Obj &obj, const mutex &mtx)
 push_back with external allocator thread safe method
template<class Al, class Cont, class Pred, class Obj>
bool algorithm::push_back_if (Al &al, Cont &cont, Pred &pr, Obj &obj, const mutex &mtx)
 push_back_if with external allocator and predicate thread safe method
template<class Obj, class Cont>
void algorithm::push_back (Cont &cont, Obj &obj, const mutex &mtx)
 push_back thread safe method
template<class Cont, class Pred, class Obj>
bool algorithm::push_back_if (Cont &cont, Pred &pr, Obj &obj, const mutex &mtx)
 push_back_if with predicate thread safe method
template<class Obj, class Cont>
void algorithm::remove (Cont &cont, Obj &obj, const mutex &mtx)
 remove thread safe method
template<class Obj>
void algorithm::swap (Obj &first, Obj &second)
 swaps method



© Copyright Terimber 2003-.