diff --git a/test/eif_namespace_disambiguation.cpp b/test/eif_namespace_disambiguation.cpp index 2a090cc..d190ee2 100644 --- a/test/eif_namespace_disambiguation.cpp +++ b/test/eif_namespace_disambiguation.cpp @@ -10,16 +10,19 @@ // Jeremiah Willcock (jewillco at osl.iu.edu) // Andrew Lumsdaine (lums at osl.iu.edu) -#include - +#include #include #include #include using boost::enable_if; -using boost::mpl::not_; using boost::is_arithmetic; +template struct not_ +{ + BOOST_STATIC_CONSTANT( bool, value = !T::value ); +}; + namespace A { template typename enable_if, bool>::type diff --git a/test/eif_no_disambiguation.cpp b/test/eif_no_disambiguation.cpp index d2ecbd9..385451b 100644 --- a/test/eif_no_disambiguation.cpp +++ b/test/eif_no_disambiguation.cpp @@ -10,16 +10,19 @@ // Jeremiah Willcock (jewillco at osl.iu.edu) // Andrew Lumsdaine (lums at osl.iu.edu) -#include - +#include #include #include #include -using boost::mpl::not_; using boost::enable_if; using boost::is_arithmetic; +template struct not_ +{ + BOOST_STATIC_CONSTANT( bool, value = !T::value ); +}; + template typename enable_if, bool>::type arithmetic_object(T t) { return true; }