forked from boostorg/conversion
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:
@ -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
|
||||
|
Reference in New Issue
Block a user