parent
9dbba654e6
commit
849b301d4e
1 changed files with 28 additions and 0 deletions
@ -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; |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue