mirror of
https://github.com/boostorg/conversion.git
synced 2025-08-05 15:34:29 +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>
|
//template <typename T>
|
||||||
//void implicit_cast (...);
|
//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
|
} // namespace boost
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user