Merge pull request #4 from robertramey/develop

added mol print functionally for Clang compiler
This commit is contained in:
Marshall Clow
2014-03-26 19:10:36 -07:00

View File

@@ -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);