Remove uses of boost::is_convertible

This commit is contained in:
Peter Dimov
2024-10-06 18:48:33 +03:00
parent 7cfc326207
commit c5023afe04
3 changed files with 6 additions and 6 deletions

View File

@@ -12,7 +12,7 @@
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include <boost/core/lightweight_test.hpp>
#include <boost/type_traits/is_convertible.hpp>
#include <type_traits>
//
@@ -26,7 +26,7 @@ class D: public B
{
};
using boost::is_convertible;
using std::is_convertible;
#define TEST_CV_TRUE_( S1, T, S2, U ) \
BOOST_TEST(( is_convertible< S1<T>, S2<U> >::value == true )); \

View File

@@ -12,7 +12,7 @@
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include <boost/core/lightweight_test.hpp>
#include <boost/type_traits/is_convertible.hpp>
#include <type_traits>
//
@@ -26,7 +26,7 @@ class D: public B
{
};
using boost::is_convertible;
using std::is_convertible;
#define TEST_CV_TRUE_( S1, T, S2, U ) \
BOOST_TEST(( is_convertible< S1<T>, S2<U> >::value == true )); \

View File

@@ -11,7 +11,7 @@
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include <boost/core/lightweight_test.hpp>
#include <boost/type_traits/is_convertible.hpp>
#include <type_traits>
//
@@ -25,7 +25,7 @@ class D: public B
{
};
using boost::is_convertible;
using std::is_convertible;
#define TEST_CV_TRUE_( S1, T, S2, U ) \
BOOST_TEST(( is_convertible< S1<T>, S2<U> >::value == true )); \