diff --git a/BGL/examples/BGL_triangulation_2/emst_regular.cpp b/BGL/examples/BGL_triangulation_2/emst_regular.cpp index 7da21ad8fd3..7b8983d6365 100644 --- a/BGL/examples/BGL_triangulation_2/emst_regular.cpp +++ b/BGL/examples/BGL_triangulation_2/emst_regular.cpp @@ -4,9 +4,10 @@ #include #include +#include + #include #include -#include #include @@ -103,7 +104,7 @@ main(int argc,char* argv[]) boost::kruskal_minimum_spanning_tree( ft, std::back_inserter(mst), vertex_index_map(vertex_index_pmap). - weight_map(boost::make_function_property_map< + weight_map(CGAL::internal::boost_::make_function_property_map< edge_descriptor, FT, Edge_weight_functor>(Edge_weight_functor(t)))); std::cout << "The edges of the Euclidean mimimum spanning tree:" << std::endl; diff --git a/Triangulation_2/include/CGAL/Regular_triangulation_2.h b/Triangulation_2/include/CGAL/Regular_triangulation_2.h index 959d1c7e3df..6cc5de924f5 100644 --- a/Triangulation_2/include/CGAL/Regular_triangulation_2.h +++ b/Triangulation_2/include/CGAL/Regular_triangulation_2.h @@ -22,14 +22,15 @@ #include #include #include + #include #include +#include #include #include #include #include -#include #include #ifndef CGAL_TRIANGULATION_2_DONT_INSERT_RANGE_OF_POINTS_WITH_INFO @@ -398,12 +399,12 @@ public: // spatial sorting must use bare points, so we need an adapter typedef typename Geom_traits::Construct_point_2 Construct_point_2; typedef typename boost::result_of::type Ret; - typedef boost::function_property_map fpmap; + typedef CGAL::internal::boost_::function_property_map fpmap; typedef CGAL::Spatial_sort_traits_adapter_2 Search_traits_2; spatial_sort(points.begin(), points.end(), Search_traits_2( - boost::make_function_property_map( + CGAL::internal::boost_::make_function_property_map( geom_traits().construct_point_2_object()), geom_traits())); Face_handle hint; @@ -465,13 +466,13 @@ private: typedef Index_to_Bare_point > Access_bare_point; typedef typename boost::result_of::type Ret; - typedef boost::function_property_map fpmap; + typedef CGAL::internal::boost_::function_property_map fpmap; typedef CGAL::Spatial_sort_traits_adapter_2 Search_traits_2; Access_bare_point accessor(points, geom_traits().construct_point_2_object()); spatial_sort(indices.begin(), indices.end(), Search_traits_2( - boost::make_function_property_map< + CGAL::internal::boost_::make_function_property_map< std::size_t, Ret, Access_bare_point>(accessor), geom_traits())); diff --git a/Triangulation_2/include/CGAL/Triangulation_2.h b/Triangulation_2/include/CGAL/Triangulation_2.h index c740589d35d..6a0dc026834 100644 --- a/Triangulation_2/include/CGAL/Triangulation_2.h +++ b/Triangulation_2/include/CGAL/Triangulation_2.h @@ -40,12 +40,13 @@ #include #include +#include + #include #include #include #include #include -#include #ifndef CGAL_NO_STRUCTURAL_FILTERING #include @@ -585,12 +586,12 @@ std::ptrdiff_t insert(InputIterator first, InputIterator last) typedef typename Geom_traits::Construct_point_2 Construct_point_2; typedef typename boost::result_of::type Ret; - typedef boost::function_property_map fpmap; + typedef CGAL::internal::boost_::function_property_map fpmap; typedef CGAL::Spatial_sort_traits_adapter_2 Search_traits_2; spatial_sort(points.begin(), points.end(), Search_traits_2( - boost::make_function_property_map( + CGAL::internal::boost_::make_function_property_map( geom_traits().construct_point_2_object()), geom_traits())); Face_handle f; diff --git a/Triangulation_2/include/CGAL/Triangulation_hierarchy_2.h b/Triangulation_2/include/CGAL/Triangulation_hierarchy_2.h index 8cf1c25b98b..29cb48cc1bc 100644 --- a/Triangulation_2/include/CGAL/Triangulation_hierarchy_2.h +++ b/Triangulation_2/include/CGAL/Triangulation_hierarchy_2.h @@ -33,10 +33,10 @@ #include #include +#include #include #include -#include #include #include #include @@ -131,12 +131,12 @@ public: // Spatial sort can only be used with Gt::Point_2: we need an adapter typedef typename Geom_traits::Construct_point_2 Construct_point_2; typedef typename boost::result_of::type Ret; - typedef boost::function_property_map fpmap; + typedef CGAL::internal::boost_::function_property_map fpmap; typedef CGAL::Spatial_sort_traits_adapter_2 Search_traits_2; spatial_sort(points.begin(), points.end(), Search_traits_2( - boost::make_function_property_map( + CGAL::internal::boost_::make_function_property_map( geom_traits().construct_point_2_object()), geom_traits())); // hints[i] is the face of the previously inserted point in level i. diff --git a/Triangulation_3/include/CGAL/Regular_triangulation_3.h b/Triangulation_3/include/CGAL/Regular_triangulation_3.h index b1830cd024f..d2a06431086 100644 --- a/Triangulation_3/include/CGAL/Regular_triangulation_3.h +++ b/Triangulation_3/include/CGAL/Regular_triangulation_3.h @@ -33,7 +33,6 @@ #include #include #include -#include #include #ifdef CGAL_LINKED_WITH_TBB @@ -47,6 +46,7 @@ #include #include #include +#include #include #include @@ -258,12 +258,12 @@ namespace CGAL { // Spatial sorting can only be applied to bare points, so we need an adaptor typedef typename Geom_traits::Construct_point_3 Construct_point_3; typedef typename boost::result_of::type Ret; - typedef boost::function_property_map fpmap; + typedef CGAL::internal::boost_::function_property_map fpmap; typedef CGAL::Spatial_sort_traits_adapter_3 Search_traits_3; spatial_sort(points_on_far_sphere.begin(), points_on_far_sphere.end(), Search_traits_3( - boost::make_function_property_map( + CGAL::internal::boost_::make_function_property_map( geom_traits().construct_point_3_object()), geom_traits())); typename std::vector::const_iterator it_p = @@ -336,12 +336,12 @@ namespace CGAL { // kernel creates temporaries and prevent it. typedef typename Geom_traits::Construct_point_3 Construct_point_3; typedef typename boost::result_of::type Ret; - typedef boost::function_property_map fpmap; + typedef CGAL::internal::boost_::function_property_map fpmap; typedef CGAL::Spatial_sort_traits_adapter_3 Search_traits_3; spatial_sort(points.begin(), points.end(), Search_traits_3( - boost::make_function_property_map( + CGAL::internal::boost_::make_function_property_map( geom_traits().construct_point_3_object()), geom_traits())); // Parallel @@ -458,13 +458,13 @@ namespace CGAL { typedef Index_to_Bare_point > Access_bare_point; typedef typename boost::result_of::type Ret; - typedef boost::function_property_map fpmap; + typedef CGAL::internal::boost_::function_property_map fpmap; typedef CGAL::Spatial_sort_traits_adapter_3 Search_traits_3; Access_bare_point accessor(points, geom_traits().construct_point_3_object()); spatial_sort(indices.begin(), indices.end(), Search_traits_3( - boost::make_function_property_map< + CGAL::internal::boost_::make_function_property_map< std::size_t, Ret, Access_bare_point>(accessor), geom_traits())); diff --git a/Triangulation_3/include/CGAL/Triangulation_3.h b/Triangulation_3/include/CGAL/Triangulation_3.h index 72f81923209..a30ab68dbb1 100644 --- a/Triangulation_3/include/CGAL/Triangulation_3.h +++ b/Triangulation_3/include/CGAL/Triangulation_3.h @@ -54,6 +54,7 @@ #include #include #include +#include #include #include @@ -63,7 +64,6 @@ #include #include #include -#include #include #include @@ -1153,12 +1153,12 @@ public: // adapter traits and Construct_point_3 here. typedef typename Geom_traits::Construct_point_3 Construct_point_3; typedef typename boost::result_of::type Ret; - typedef boost::function_property_map fpmap; + typedef CGAL::internal::boost_::function_property_map fpmap; typedef CGAL::Spatial_sort_traits_adapter_3 Search_traits_3; spatial_sort(points.begin(), points.end(), Search_traits_3( - boost::make_function_property_map( + CGAL::internal::boost_::make_function_property_map( geom_traits().construct_point_3_object()), geom_traits())); Vertex_handle hint; @@ -6204,12 +6204,12 @@ _remove_cluster_3D(InputIterator first, InputIterator beyond, VertexRemover &rem // Spatial sorting can only be applied to bare points, so we need an adaptor typedef typename Geom_traits::Construct_point_3 Construct_point_3; typedef typename boost::result_of::type Ret; - typedef boost::function_property_map fpmap; + typedef CGAL::internal::boost_::function_property_map fpmap; typedef CGAL::Spatial_sort_traits_adapter_3 Search_traits_3; spatial_sort(vps.begin(), vps.end(), Search_traits_3( - boost::make_function_property_map( + CGAL::internal::boost_::make_function_property_map( geom_traits().construct_point_3_object()), geom_traits())); std::size_t svps = vps.size(); diff --git a/Triangulation_3/include/CGAL/Triangulation_hierarchy_3.h b/Triangulation_3/include/CGAL/Triangulation_hierarchy_3.h index 5464de2df57..1969fd45d66 100644 --- a/Triangulation_3/include/CGAL/Triangulation_hierarchy_3.h +++ b/Triangulation_3/include/CGAL/Triangulation_hierarchy_3.h @@ -32,7 +32,8 @@ #include #include -#include +#include + #include #include #include @@ -172,12 +173,12 @@ public: // Spatial sort can only be used with Geom_traits::Point_3: we need an adapter typedef typename Geom_traits::Construct_point_3 Construct_point_3; typedef typename boost::result_of::type Ret; - typedef boost::function_property_map fpmap; + typedef CGAL::internal::boost_::function_property_map fpmap; typedef CGAL::Spatial_sort_traits_adapter_3 Search_traits_3; spatial_sort(points.begin(), points.end(), Search_traits_3( - boost::make_function_property_map( + CGAL::internal::boost_::make_function_property_map( geom_traits().construct_point_3_object()), geom_traits())); // hints[i] is the vertex of the previously inserted point in level i. @@ -249,13 +250,13 @@ private: typedef Index_to_Bare_point > Access_bare_point; typedef typename boost::result_of::type Ret; - typedef boost::function_property_map fpmap; + typedef CGAL::internal::boost_::function_property_map fpmap; typedef CGAL::Spatial_sort_traits_adapter_3 Search_traits_3; Access_bare_point accessor(points, geom_traits().construct_point_3_object()); spatial_sort(indices.begin(), indices.end(), Search_traits_3( - boost::make_function_property_map< + CGAL::internal::boost_::make_function_property_map< std::size_t, Ret, Access_bare_point>(accessor), geom_traits()));