mirror of
https://github.com/boostorg/conversion.git
synced 2025-08-03 14:34:33 +02:00
removed erroneous macro version
[SVN r34578]
This commit is contained in:
@@ -23,12 +23,6 @@ inline T implicit_cast (typename mpl::identity<T>::type x) {
|
||||
//template <typename T>
|
||||
//void implicit_cast (...);
|
||||
|
||||
// Macro for when you need a constant expression (Gennaro Prota)
|
||||
#define BOOST_IMPLICIT_CAST(dst_type, expr) \
|
||||
( sizeof( implicit_cast<dst_type>(expr) ) \
|
||||
, \
|
||||
static_cast<dst_type>(expr) \
|
||||
)
|
||||
|
||||
} // namespace boost
|
||||
|
||||
|
Reference in New Issue
Block a user