mirror of
https://github.com/boostorg/mp11.git
synced 2025-12-05 08:09:20 +01:00
Remove use of Boost.Config
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
|
||||
#include <boost/mp11/utility.hpp>
|
||||
#include <boost/mp11/detail/config.hpp>
|
||||
#include <boost/core/lightweight_test_trait.hpp>
|
||||
#include <type_traits>
|
||||
|
||||
@@ -38,14 +39,12 @@ int main()
|
||||
{
|
||||
using Q = mp_quote<mp_identity_t>;
|
||||
|
||||
#if defined( BOOST_MSVC ) && BOOST_WORKAROUND( BOOST_MSVC, <= 1800 )
|
||||
#else
|
||||
#if !BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, <= 1800 )
|
||||
using R1 = Y<Q::fn, void, char, int>;
|
||||
BOOST_TEST_TRAIT_TRUE((std::is_same<R1, X<void, char, int>>));
|
||||
#endif
|
||||
|
||||
#if defined( BOOST_MSVC ) && BOOST_WORKAROUND( BOOST_MSVC, < 1920 && BOOST_MSVC >= 1900 )
|
||||
#else
|
||||
#if !BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1920 && BOOST_MP11_MSVC >= 1900 )
|
||||
using R2 = Z<Q, void, char, int>;
|
||||
BOOST_TEST_TRAIT_TRUE((std::is_same<R2, X<void, char, int>>));
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user