1
0
forked from boostorg/mp11

Try another g++ 4.7 workaround

This commit is contained in:
Peter Dimov
2017-03-24 21:27:33 +02:00
parent 6332db40ab
commit 8999977bdd

View File

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