mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-02 06:15:23 +02:00
Merge pull request #4 from robertramey/develop
added mol print functionally for Clang compiler
This commit is contained in:
@@ -39,7 +39,6 @@ namespace aux {
|
|||||||
#endif
|
#endif
|
||||||
} // namespace aux
|
} // namespace aux
|
||||||
|
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
struct print
|
struct print
|
||||||
: mpl::identity<T>
|
: mpl::identity<T>
|
||||||
@@ -47,7 +46,9 @@ struct print
|
|||||||
, aux::print_base
|
, aux::print_base
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
#if defined(BOOST_MSVC)
|
#if defined(__clang__)
|
||||||
|
const int m_x = 1 / (sizeof(T) - sizeof(T));
|
||||||
|
#elif defined(BOOST_MSVC)
|
||||||
enum { n = sizeof(T) + -1 };
|
enum { n = sizeof(T) + -1 };
|
||||||
#elif defined(__MWERKS__)
|
#elif defined(__MWERKS__)
|
||||||
void f(int);
|
void f(int);
|
||||||
|
Reference in New Issue
Block a user