From 6178545a15de8c7e69da7e55fa63531f115263ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Mon, 28 Feb 2005 07:10:23 +0000 Subject: [PATCH] removed deprecated min, max --- mrw/stdext.hpp | 43 +++---------------------------------------- 1 file changed, 3 insertions(+), 40 deletions(-) diff --git a/mrw/stdext.hpp b/mrw/stdext.hpp index 2a87bc7..0fb94f8 100644 --- a/mrw/stdext.hpp +++ b/mrw/stdext.hpp @@ -9,6 +9,9 @@ @license LGPL, see file COPYING $Log$ + Revision 1.7 2005/02/28 07:10:23 marc + removed deprecated min, max + Revision 1.6 2005/02/18 15:47:23 marc missing #ifndef new functions ifelse @@ -67,46 +70,6 @@ namespace mrw { */ //@{ - /** @brief Deprecated! Do not use any more! - - @deprecated Use @c std::min from @c - #include <algorithm> instead! - - Get the lower of two values. - If both values are equal, @c a is returned. - - @param a first value to compare - @param b second value to compare - @return the lower of both values - @pre #include - @pre @c T must support bool operator>(const T&, constT&) - */ - template const T& min(const T& a, const T& b) { - /// calls @c std::min(a, b); - /// @deprecated will be removed in next major release - return std::min(a, b); - } - - /** @brief Deprecated! Do not use any more! - - @deprecated Use @c std::max from @c - #include <algorithm> instead! - - Get the higher of two values. - If both values are equal, @c a is returned. - - @param a first value to compare - @param b second value to compare - @return the higher of both values - @pre #include - @pre @c T must support bool operator<(const T&, constT&) - */ - template const T& max(const T& a, const T& b) { - /// calls @c std::max(a, b); - /// @deprecated will be removed in next major release - return std::max(a, b); - } - /** @brief Dual ?: operation: a ? a : b