1
0
forked from boostorg/mp11

Remove mp_plus 4.7 test workarounds

This commit is contained in:
Peter Dimov
2017-05-24 04:09:11 +03:00
parent b306ab25aa
commit 8621bb33fb
3 changed files with 0 additions and 24 deletions

View File

@@ -23,16 +23,8 @@ struct X4 {};
template<class T1, class T2> struct F {};
#if BOOST_WORKAROUND( BOOST_GCC, < 40800 )
template<class A, class B> using mp_plus = std::integral_constant<typename std::remove_const<decltype( A::value + B::value )>::type, A::value + B::value>;
#else
using boost::mp11::mp_plus;
#endif
int main()
{
using boost::mp11::mp_list;

View File

@@ -29,16 +29,8 @@ struct X10 {};
struct X11 {};
struct X12 {};
#if BOOST_WORKAROUND( BOOST_GCC, < 40800 )
template<class A, class B> using mp_plus = std::integral_constant<typename std::remove_const<decltype( A::value + B::value )>::type, A::value + B::value>;
#else
using boost::mp11::mp_plus;
#endif
int main()
{
using boost::mp11::mp_list;

View File

@@ -29,16 +29,8 @@ using boost::mp11::mp_push_front;
template<class T, class L> using rev_push_back = mp_push_back<L, T>;
template<class T, class L> using rev_push_front = mp_push_front<L, T>;
#if BOOST_WORKAROUND( BOOST_GCC, < 40800 )
template<class A, class B> using mp_plus = std::integral_constant<typename std::remove_const<decltype( A::value + B::value )>::type, A::value + B::value>;
#else
using boost::mp11::mp_plus;
#endif
int main()
{
using boost::mp11::mp_list;