|
|
|
@ -9,6 +9,9 @@ |
|
|
|
|
@license LGPL, see file <a href="license.html">COPYING</a> |
|
|
|
|
|
|
|
|
|
$Log$ |
|
|
|
|
Revision 1.5 2005/01/28 07:52:33 marc |
|
|
|
|
typo in doc |
|
|
|
|
|
|
|
|
|
Revision 1.4 2004/12/20 07:40:36 marc |
|
|
|
|
documentation improved, new grouping |
|
|
|
|
|
|
|
|
@ -63,7 +66,7 @@ namespace mrw { |
|
|
|
|
@param b second value to compare |
|
|
|
|
@return the lower of both values |
|
|
|
|
@pre #include <mrw/stdext.hpp> |
|
|
|
|
@pre @c T must support <code>bool operator>(conbst T&, constT&)</code> |
|
|
|
|
@pre @c T must support <code>bool operator>(const T&, constT&)</code> |
|
|
|
|
*/ |
|
|
|
|
template<typename T> const T& min(const T& a, const T& b) { |
|
|
|
|
/// calls @c std::min(a, b);
|
|
|
|
@ -83,7 +86,7 @@ namespace mrw { |
|
|
|
|
@param b second value to compare |
|
|
|
|
@return the higher of both values |
|
|
|
|
@pre #include <mrw/stdext.hpp> |
|
|
|
|
@pre @c T must support <code>bool operator<(conbst T&, constT&)</code> |
|
|
|
|
@pre @c T must support <code>bool operator<(const T&, constT&)</code> |
|
|
|
|
*/ |
|
|
|
|
template<typename T> const T& max(const T& a, const T& b) { |
|
|
|
|
/// calls @c std::max(a, b);
|
|
|
|
|