algo.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  rutz

Functions

template<class T>
const T & rutz::min (const T &a, const T &b)
template<class T>
const T & rutz::max (const T &a, const T &b)
template<class T>
rutz::abs (const T &val)
template<class T>
rutz::clamp (const T &val, const T &lower, const T &upper)
template<class T>
void rutz::swap2 (T &t1, T &t2)


Detailed Description

some trivial algos from <algorithm>, but much more lightweight

Definition in file algo.h.


The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:51:41 2008 by Doxygen version 1.5.5.