Contains min and max functions for more than two arguments. More...
#include "../defs.h"
#include <algorithm>
Go to the source code of this file.
Functions | |
template<typename T > | |
const T & | min (const T &a, const T &b, const T &c) |
This does what you think it does. | |
template<typename T > | |
const T & | min (const T &a, const T &b, const T &c, const T &d) |
This does what you think it does. | |
template<typename T > | |
const T & | min (const T &a, const T &b, const T &c, const T &d, const T &e) |
This does what you think it does. | |
template<typename T > | |
const T & | max (const T &a, const T &b, const T &c) |
This does what you think it does. | |
template<typename T > | |
const T & | max (const T &a, const T &b, const T &c, const T &d) |
This does what you think it does. | |
template<typename T > | |
const T & | max (const T &a, const T &b, const T &c, const T &d, const T &e) |
This does what you think it does. | |
template<typename T , typename Compare > | |
const T & | min (const T &a, const T &b, const T &c, Compare comp) |
This does what you think it does. | |
template<typename T , typename Compare > | |
const T & | min (const T &a, const T &b, const T &c, const T &d, Compare comp) |
This does what you think it does. comp is a comparison functor. | |
template<typename T , typename Compare > | |
const T & | min (const T &a, const T &b, const T &c, const T &d, const T &e, Compare comp) |
This does what you think it does. comp is a comparison functor. | |
template<typename T , typename Compare > | |
const T & | max (const T &a, const T &b, const T &c, Compare comp) |
This does what you think it does. | |
template<typename T , typename Compare > | |
const T & | max (const T &a, const T &b, const T &c, const T &d, Compare comp) |
This does what you think it does. comp is a comparison functor. | |
template<typename T , typename Compare > | |
const T & | max (const T &a, const T &b, const T &c, const T &d, const T &e, Compare comp) |
This does what you think it does. comp is a comparison functor. |
Contains min and max functions for more than two arguments.