forked from boostorg/mp11
Try another g++ 4.7 workaround
This commit is contained in:
@@ -10,8 +10,6 @@
|
||||
#include <boost/mp11/utility.hpp>
|
||||
#include <boost/mp11/integral.hpp>
|
||||
#include <boost/core/lightweight_test_trait.hpp>
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/detail/workaround.hpp>
|
||||
#include <type_traits>
|
||||
|
||||
using boost::mp11::mp_identity;
|
||||
@@ -25,15 +23,7 @@ template<class T> struct has_type
|
||||
|
||||
using type = decltype( f<T>(0) );
|
||||
|
||||
#if BOOST_WORKAROUND( BOOST_GCC, < 40800 )
|
||||
|
||||
static constexpr auto value = type::value;
|
||||
|
||||
#else
|
||||
|
||||
static const auto value = type::value;
|
||||
|
||||
#endif
|
||||
static const bool value = type::value;
|
||||
};
|
||||
|
||||
using boost::mp11::mp_defer;
|
||||
|
Reference in New Issue
Block a user