*** empty log message ***
This commit is contained in:
28
mrw/stdext.hpp
Normal file
28
mrw/stdext.hpp
Normal file
@@ -0,0 +1,28 @@
|
||||
/** @file
|
||||
|
||||
$Id$
|
||||
|
||||
$Date$
|
||||
$Author$
|
||||
|
||||
@copy © Marc Wäckerlin
|
||||
@license LGPL, see file <a href="license.html">COPYING</a>
|
||||
|
||||
$Log$
|
||||
Revision 1.1 2004/10/11 18:30:16 marc
|
||||
*** empty log message ***
|
||||
|
||||
|
||||
*/
|
||||
|
||||
namespace mrw {
|
||||
|
||||
template<typename T> const T& min(const T& a, const T& b) {
|
||||
return a > b ? b : a;
|
||||
}
|
||||
|
||||
template<typename T> const T& max(const T& a, const T& b) {
|
||||
return a < b ? b : a;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user