// Copyright (C) 2010, Guy Barrand. All rights reserved.
// See the file tools.license for terms.

#ifndef tools_mnmx
#define tools_mnmx

namespace tools {

// long name :
template <class T>
inline T min_of(const T& a,const T& b) {return (a<b?a:b);}

template <class T>
inline T max_of(const T& a,const T& b) {return (a>b?a:b);}

}

#endif
