clamp.h File Reference

Defines the util::clamp function. More...

#include <config.h>

Go to the source code of this file.

Namespaces

namespace  util
 

Various utility classes for generic programming.


Functions

template<class T >
util::clamp (const T &val, const T &min, const T &max)
 A function to clamp a value to a range.

Detailed Description

Defines the util::clamp function.

Definition in file clamp.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Fri May 31 15:37:53 2013 for VVE by  doxygen 1.6.3