]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/geometry/algorithms/detail/overlay/copy_segments.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / geometry / algorithms / detail / overlay / copy_segments.hpp
index d5bdf7eb829abfc39498a339099e030041f2e2b9..f6833da2cd2715ddc63b143e75d1b43e1078ae8d 100644 (file)
@@ -2,9 +2,8 @@
 
 // Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands.
 
-// This file was modified by Oracle on 2014, 2017, 2018.
-// Modifications copyright (c) 2014-2018 Oracle and/or its affiliates.
-
+// This file was modified by Oracle on 2014-2020.
+// Modifications copyright (c) 2014-2020 Oracle and/or its affiliates.
 // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
 
 #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_COPY_SEGMENTS_HPP
 
 
+#include <type_traits>
 #include <vector>
 
 #include <boost/array.hpp>
-#include <boost/mpl/assert.hpp>
-#include <boost/range.hpp>
-#include <boost/type_traits/integral_constant.hpp>
+#include <boost/range/begin.hpp>
+#include <boost/range/end.hpp>
+#include <boost/range/size.hpp>
 
 #include <boost/geometry/algorithms/detail/assign_box_corners.hpp>
 #include <boost/geometry/algorithms/detail/signed_size_type.hpp>
@@ -130,7 +130,7 @@ private:
                                         Point const& point,
                                         SideStrategy const& strategy,
                                         RobustPolicy const& robust_policy,
-                                        boost::true_type const&)
+                                        std::true_type const&)
     {
         detail::overlay::append_no_dups_or_spikes(current_output, point,
                                                   strategy,
@@ -143,7 +143,7 @@ private:
                                         Point const& point,
                                         SideStrategy const& strategy,
                                         RobustPolicy const&,
-                                        boost::false_type const&)
+                                        std::false_type const&)
     {
         detail::overlay::append_no_duplicates(current_output, point, strategy.get_equals_point_point_strategy());
     }
@@ -182,7 +182,7 @@ public:
         for (signed_size_type i = 0; i < count; ++i, ++it)
         {
             append_to_output(current_output, *it, strategy, robust_policy,
-                             boost::integral_constant<bool, RemoveSpikes>());
+                             std::integral_constant<bool, RemoveSpikes>());
         }
     }
 };