From b96f6d5ce9e88008dacac539d3b645e9ab871a8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Fri, 10 Jun 2022 09:43:59 +0200 Subject: [PATCH] move is_iterator to type_traits --- .../include/CGAL/AABB_halfedge_graph_segment_primitive.h | 2 +- .../include/CGAL/Boolean_set_operations_2/complement.h | 2 +- .../include/CGAL/Boolean_set_operations_2/difference.h | 2 +- .../include/CGAL/Boolean_set_operations_2/do_intersect.h | 2 +- .../include/CGAL/Boolean_set_operations_2/intersection.h | 2 +- .../include/CGAL/Boolean_set_operations_2/join.h | 2 +- .../include/CGAL/Boolean_set_operations_2/oriented_side.h | 2 +- .../CGAL/Boolean_set_operations_2/symmetric_difference.h | 2 +- .../Circular_kernel_3/function_objects_polynomial_sphere.h | 2 +- Convex_hull_3/include/CGAL/convex_hull_3.h | 2 +- Filtered_kernel/include/CGAL/Lazy.h | 2 +- Interpolation/include/CGAL/natural_neighbor_coordinates_2.h | 2 +- Interpolation/include/CGAL/regular_neighbor_coordinates_2.h | 2 +- Mesh_3/include/CGAL/Mesh_3/experimental/Facet_patch_id_map.h | 2 +- NewKernel_d/include/CGAL/NewKernel_d/Cartesian_LA_functors.h | 2 +- NewKernel_d/include/CGAL/NewKernel_d/KernelD_converter.h | 2 +- NewKernel_d/include/CGAL/NewKernel_d/Wrapper/Cartesian_wrap.h | 2 +- .../include/CGAL/NewKernel_d/function_objects_cartesian.h | 2 +- Point_set_processing_3/include/CGAL/IO/read_las_points.h | 2 +- Point_set_processing_3/include/CGAL/IO/read_off_points.h | 2 +- Point_set_processing_3/include/CGAL/IO/read_xyz_points.h | 2 +- Principal_component_analysis_LGPL/include/CGAL/centroid.h | 2 +- STL_Extension/include/CGAL/{ => type_traits}/is_iterator.h | 4 ++-- STL_Extension/test/STL_Extension/test_is_iterator.cpp | 2 +- Stream_support/include/CGAL/IO/PLY/PLY_reader.h | 2 +- Stream_support/include/CGAL/IO/helpers.h | 2 +- .../include/CGAL/Constrained_Delaunay_triangulation_2.h | 2 +- 27 files changed, 28 insertions(+), 28 deletions(-) rename STL_Extension/include/CGAL/{ => type_traits}/is_iterator.h (97%) diff --git a/AABB_tree/include/CGAL/AABB_halfedge_graph_segment_primitive.h b/AABB_tree/include/CGAL/AABB_halfedge_graph_segment_primitive.h index 89a32644bdf..9a673026409 100644 --- a/AABB_tree/include/CGAL/AABB_halfedge_graph_segment_primitive.h +++ b/AABB_tree/include/CGAL/AABB_halfedge_graph_segment_primitive.h @@ -23,7 +23,7 @@ #include #include -#include +#include #include #include diff --git a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/complement.h b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/complement.h index 076d5dbbbd1..29496049990 100644 --- a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/complement.h +++ b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/complement.h @@ -31,7 +31,7 @@ #include #include #include -#include +#include namespace CGAL { diff --git a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/difference.h b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/difference.h index d8f570315c9..dba4b1d433a 100644 --- a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/difference.h +++ b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/difference.h @@ -31,7 +31,7 @@ #include #include #include -#include +#include namespace CGAL { diff --git a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/do_intersect.h b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/do_intersect.h index 3794f2916dd..963d788a758 100644 --- a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/do_intersect.h +++ b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/do_intersect.h @@ -31,7 +31,7 @@ #include #include #include -#include +#include namespace CGAL { diff --git a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/intersection.h b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/intersection.h index a4b8b8e9e7c..ad0fc8b1ee9 100644 --- a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/intersection.h +++ b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/intersection.h @@ -31,7 +31,7 @@ #include #include #include -#include +#include namespace CGAL { diff --git a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/join.h b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/join.h index e0bd8e614bc..9ec9ea2527d 100644 --- a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/join.h +++ b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/join.h @@ -31,7 +31,7 @@ #include #include #include -#include +#include namespace CGAL { diff --git a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/oriented_side.h b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/oriented_side.h index d96963ef942..133ad6fcbae 100644 --- a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/oriented_side.h +++ b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/oriented_side.h @@ -31,7 +31,7 @@ #include #include #include -#include +#include namespace CGAL { diff --git a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/symmetric_difference.h b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/symmetric_difference.h index 67d85d0074a..dfe0297dcde 100644 --- a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/symmetric_difference.h +++ b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/symmetric_difference.h @@ -31,7 +31,7 @@ #include #include #include -#include +#include namespace CGAL { diff --git a/Circular_kernel_3/include/CGAL/Circular_kernel_3/function_objects_polynomial_sphere.h b/Circular_kernel_3/include/CGAL/Circular_kernel_3/function_objects_polynomial_sphere.h index 48972182b0c..ff7119586a5 100644 --- a/Circular_kernel_3/include/CGAL/Circular_kernel_3/function_objects_polynomial_sphere.h +++ b/Circular_kernel_3/include/CGAL/Circular_kernel_3/function_objects_polynomial_sphere.h @@ -21,7 +21,7 @@ #include -#include +#include #include #include diff --git a/Convex_hull_3/include/CGAL/convex_hull_3.h b/Convex_hull_3/include/CGAL/convex_hull_3.h index 19ce78e6e30..14ac3ef0eb7 100644 --- a/Convex_hull_3/include/CGAL/convex_hull_3.h +++ b/Convex_hull_3/include/CGAL/convex_hull_3.h @@ -40,7 +40,7 @@ #include #include #include -#include +#include #include #include diff --git a/Filtered_kernel/include/CGAL/Lazy.h b/Filtered_kernel/include/CGAL/Lazy.h index 5fba1099c35..f01ed3640e8 100644 --- a/Filtered_kernel/include/CGAL/Lazy.h +++ b/Filtered_kernel/include/CGAL/Lazy.h @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include #include diff --git a/Interpolation/include/CGAL/natural_neighbor_coordinates_2.h b/Interpolation/include/CGAL/natural_neighbor_coordinates_2.h index c8646a0bd35..d50116d0938 100644 --- a/Interpolation/include/CGAL/natural_neighbor_coordinates_2.h +++ b/Interpolation/include/CGAL/natural_neighbor_coordinates_2.h @@ -17,7 +17,7 @@ #include #include -#include +#include #include #include #include diff --git a/Interpolation/include/CGAL/regular_neighbor_coordinates_2.h b/Interpolation/include/CGAL/regular_neighbor_coordinates_2.h index 501c7348357..5f8f93aa1e1 100644 --- a/Interpolation/include/CGAL/regular_neighbor_coordinates_2.h +++ b/Interpolation/include/CGAL/regular_neighbor_coordinates_2.h @@ -16,7 +16,7 @@ #include -#include +#include #include #include #include diff --git a/Mesh_3/include/CGAL/Mesh_3/experimental/Facet_patch_id_map.h b/Mesh_3/include/CGAL/Mesh_3/experimental/Facet_patch_id_map.h index 709c0175d2b..bafbeceace6 100644 --- a/Mesh_3/include/CGAL/Mesh_3/experimental/Facet_patch_id_map.h +++ b/Mesh_3/include/CGAL/Mesh_3/experimental/Facet_patch_id_map.h @@ -18,7 +18,7 @@ #include #include -#include +#include namespace CGAL { namespace Mesh_3 { diff --git a/NewKernel_d/include/CGAL/NewKernel_d/Cartesian_LA_functors.h b/NewKernel_d/include/CGAL/NewKernel_d/Cartesian_LA_functors.h index 77ecdbb99d9..7d6ad589216 100644 --- a/NewKernel_d/include/CGAL/NewKernel_d/Cartesian_LA_functors.h +++ b/NewKernel_d/include/CGAL/NewKernel_d/Cartesian_LA_functors.h @@ -13,7 +13,7 @@ #define CGAL_CARTESIAN_LA_FUNCTORS_H #include -#include +#include #include #include #include diff --git a/NewKernel_d/include/CGAL/NewKernel_d/KernelD_converter.h b/NewKernel_d/include/CGAL/NewKernel_d/KernelD_converter.h index 11963567107..c1385eb98f7 100644 --- a/NewKernel_d/include/CGAL/NewKernel_d/KernelD_converter.h +++ b/NewKernel_d/include/CGAL/NewKernel_d/KernelD_converter.h @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/NewKernel_d/include/CGAL/NewKernel_d/Wrapper/Cartesian_wrap.h b/NewKernel_d/include/CGAL/NewKernel_d/Wrapper/Cartesian_wrap.h index 8931f747060..af28c8146f9 100644 --- a/NewKernel_d/include/CGAL/NewKernel_d/Wrapper/Cartesian_wrap.h +++ b/NewKernel_d/include/CGAL/NewKernel_d/Wrapper/Cartesian_wrap.h @@ -13,7 +13,7 @@ #define CGAL_KERNEL_D_CARTESIAN_WRAP_H #include -#include +#include #if defined(BOOST_MSVC) # pragma warning(push) diff --git a/NewKernel_d/include/CGAL/NewKernel_d/function_objects_cartesian.h b/NewKernel_d/include/CGAL/NewKernel_d/function_objects_cartesian.h index 744031dab8c..de6ec3fb91c 100644 --- a/NewKernel_d/include/CGAL/NewKernel_d/function_objects_cartesian.h +++ b/NewKernel_d/include/CGAL/NewKernel_d/function_objects_cartesian.h @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/Point_set_processing_3/include/CGAL/IO/read_las_points.h b/Point_set_processing_3/include/CGAL/IO/read_las_points.h index cff4b26c537..4d0d99a7eb5 100644 --- a/Point_set_processing_3/include/CGAL/IO/read_las_points.h +++ b/Point_set_processing_3/include/CGAL/IO/read_las_points.h @@ -23,7 +23,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/IO/read_off_points.h b/Point_set_processing_3/include/CGAL/IO/read_off_points.h index 0102882f758..f91dc45fbc0 100644 --- a/Point_set_processing_3/include/CGAL/IO/read_off_points.h +++ b/Point_set_processing_3/include/CGAL/IO/read_off_points.h @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/IO/read_xyz_points.h b/Point_set_processing_3/include/CGAL/IO/read_xyz_points.h index 812ec3058e6..7521550be66 100644 --- a/Point_set_processing_3/include/CGAL/IO/read_xyz_points.h +++ b/Point_set_processing_3/include/CGAL/IO/read_xyz_points.h @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include #include diff --git a/Principal_component_analysis_LGPL/include/CGAL/centroid.h b/Principal_component_analysis_LGPL/include/CGAL/centroid.h index 64315ae8c2e..b02a618a639 100644 --- a/Principal_component_analysis_LGPL/include/CGAL/centroid.h +++ b/Principal_component_analysis_LGPL/include/CGAL/centroid.h @@ -20,7 +20,7 @@ #include #include -#include +#include #include #include diff --git a/STL_Extension/include/CGAL/is_iterator.h b/STL_Extension/include/CGAL/type_traits/is_iterator.h similarity index 97% rename from STL_Extension/include/CGAL/is_iterator.h rename to STL_Extension/include/CGAL/type_traits/is_iterator.h index e46eb4cf1d0..f8010ab35b3 100644 --- a/STL_Extension/include/CGAL/is_iterator.h +++ b/STL_Extension/include/CGAL/type_traits/is_iterator.h @@ -14,8 +14,8 @@ // Author(s) : Marc Glisse -#ifndef CGAL_IS_ITERATOR_H -#define CGAL_IS_ITERATOR_H +#ifndef CGAL_TYPE_TRAITS_IS_ITERATOR_H +#define CGAL_TYPE_TRAITS_IS_ITERATOR_H #include #include diff --git a/STL_Extension/test/STL_Extension/test_is_iterator.cpp b/STL_Extension/test/STL_Extension/test_is_iterator.cpp index c6412282935..7305fe62da0 100644 --- a/STL_Extension/test/STL_Extension/test_is_iterator.cpp +++ b/STL_Extension/test/STL_Extension/test_is_iterator.cpp @@ -1,5 +1,5 @@ #include -#include +#include #include #include #include diff --git a/Stream_support/include/CGAL/IO/PLY/PLY_reader.h b/Stream_support/include/CGAL/IO/PLY/PLY_reader.h index 26876409a48..2500bb8f59b 100644 --- a/Stream_support/include/CGAL/IO/PLY/PLY_reader.h +++ b/Stream_support/include/CGAL/IO/PLY/PLY_reader.h @@ -13,7 +13,7 @@ #include #include -#include +#include #include #include diff --git a/Stream_support/include/CGAL/IO/helpers.h b/Stream_support/include/CGAL/IO/helpers.h index 98830e089c8..2331e0314a1 100644 --- a/Stream_support/include/CGAL/IO/helpers.h +++ b/Stream_support/include/CGAL/IO/helpers.h @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include diff --git a/Triangulation_2/include/CGAL/Constrained_Delaunay_triangulation_2.h b/Triangulation_2/include/CGAL/Constrained_Delaunay_triangulation_2.h index 3ca48aafd90..d96c746a548 100644 --- a/Triangulation_2/include/CGAL/Constrained_Delaunay_triangulation_2.h +++ b/Triangulation_2/include/CGAL/Constrained_Delaunay_triangulation_2.h @@ -23,7 +23,7 @@ #ifndef CGAL_TRIANGULATION_2_DONT_INSERT_RANGE_OF_POINTS_WITH_INFO #include #include -#include +#include #include #include