boost::is_pointer -> std::is_pointer

This commit is contained in:
Sébastien Loriot 2023-04-23 21:20:00 +02:00
parent d4d2225801
commit a1b2dd014d
2 changed files with 2 additions and 5 deletions

View File

@ -18,7 +18,6 @@
#define CGAL_TYPE_TRAITS_IS_ITERATOR_H #define CGAL_TYPE_TRAITS_IS_ITERATOR_H
#include <boost/type_traits/is_convertible.hpp> #include <boost/type_traits/is_convertible.hpp>
#include <boost/type_traits/is_pointer.hpp>
#include <boost/mpl/has_xxx.hpp> #include <boost/mpl/has_xxx.hpp>
#include <boost/mpl/logical.hpp> #include <boost/mpl/logical.hpp>
@ -44,7 +43,7 @@ struct is_iterator_
has_difference_type<T>, has_difference_type<T>,
has_pointer<T>, has_pointer<T>,
has_reference<T> >, has_reference<T> >,
boost::is_pointer<T> > std::is_pointer<T> >
{ }; { };
template <class T, class U, bool = is_iterator_<T>::value> template <class T, class U, bool = is_iterator_<T>::value>

View File

@ -26,8 +26,6 @@
#include <CGAL/Dimension.h> #include <CGAL/Dimension.h>
#include <CGAL/number_type_config.h> #include <CGAL/number_type_config.h>
#include <boost/type_traits/is_pointer.hpp>
#include <CGAL/Kd_tree.h> #include <CGAL/Kd_tree.h>
#include <CGAL/Search_traits_2.h> #include <CGAL/Search_traits_2.h>
#include <CGAL/Fuzzy_iso_box.h> #include <CGAL/Fuzzy_iso_box.h>
@ -107,7 +105,7 @@ public:
template<class Traits_, class SAVED_OBJECT> template<class Traits_, class SAVED_OBJECT>
class Multiple_kd_tree { class Multiple_kd_tree {
CGAL_static_assertion_msg((boost::is_pointer<SAVED_OBJECT>::value), "SAVED_OBJECT is not a pointer."); CGAL_static_assertion_msg((std::is_pointer<SAVED_OBJECT>::value), "SAVED_OBJECT is not a pointer.");
private: private:
typedef Traits_ Traits; typedef Traits_ Traits;
typedef typename Traits::FT NT; typedef typename Traits::FT NT;