From 425e7cb36790813c84f12facbc5868c7b21577a1 Mon Sep 17 00:00:00 2001 From: Gennaro Prota Date: Wed, 9 Aug 2006 20:18:06 +0000 Subject: [PATCH] removed BOOST_IMPLICIT_CAST; it was committed by mistake, has no unit tests, and is not released by the author under the Boost Software License [SVN r34857] --- include/boost/implicit_cast.hpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/include/boost/implicit_cast.hpp b/include/boost/implicit_cast.hpp index 27e1639..5b1cd92 100755 --- a/include/boost/implicit_cast.hpp +++ b/include/boost/implicit_cast.hpp @@ -26,19 +26,4 @@ inline T implicit_cast (typename mpl::identity::type x) { } // namespace boost - -// Macro for when you need a constant expression. -// Note that 'expr' is evaluated at most once, though -// it appears three times (provided by Gennaro Prota; see -// http://lists.boost.org/Archives/boost/2004/05/65687.php) -// -#define BOOST_IMPLICIT_CAST(dest_type, expr) \ - ( static_cast( \ - sizeof(boost::implicit_cast(expr)) ? \ - (expr) : (expr) \ - ) \ - ) /**/ - - - #endif // IMPLICIT_CAST_DWA200356_HPP