From a1b2dd014db61aa8b67fd0ec8e645171ad85e9e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Sun, 23 Apr 2023 21:20:00 +0200 Subject: [PATCH] boost::is_pointer -> std::is_pointer --- STL_Extension/include/CGAL/type_traits/is_iterator.h | 3 +-- Snap_rounding_2/include/CGAL/Snap_rounding_kd_2.h | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/STL_Extension/include/CGAL/type_traits/is_iterator.h b/STL_Extension/include/CGAL/type_traits/is_iterator.h index 837c91e0330..ddc34f9d4df 100644 --- a/STL_Extension/include/CGAL/type_traits/is_iterator.h +++ b/STL_Extension/include/CGAL/type_traits/is_iterator.h @@ -18,7 +18,6 @@ #define CGAL_TYPE_TRAITS_IS_ITERATOR_H #include -#include #include #include @@ -44,7 +43,7 @@ struct is_iterator_ has_difference_type, has_pointer, has_reference >, - boost::is_pointer > + std::is_pointer > { }; template ::value> diff --git a/Snap_rounding_2/include/CGAL/Snap_rounding_kd_2.h b/Snap_rounding_2/include/CGAL/Snap_rounding_kd_2.h index add923b15e2..3709e0a0e15 100644 --- a/Snap_rounding_2/include/CGAL/Snap_rounding_kd_2.h +++ b/Snap_rounding_2/include/CGAL/Snap_rounding_kd_2.h @@ -26,8 +26,6 @@ #include #include -#include - #include #include #include @@ -107,7 +105,7 @@ public: template class Multiple_kd_tree { - CGAL_static_assertion_msg((boost::is_pointer::value), "SAVED_OBJECT is not a pointer."); + CGAL_static_assertion_msg((std::is_pointer::value), "SAVED_OBJECT is not a pointer."); private: typedef Traits_ Traits; typedef typename Traits::FT NT;