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]
This commit is contained in:
Gennaro Prota
2006-08-09 20:18:06 +00:00
parent 453555619e
commit 425e7cb367

View File

@ -26,19 +26,4 @@ inline T implicit_cast (typename mpl::identity<T>::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<dest_type>( \
sizeof(boost::implicit_cast<dest_type>(expr)) ? \
(expr) : (expr) \
) \
) /**/
#endif // IMPLICIT_CAST_DWA200356_HPP