// Boost.Geometry (aka GGL, Generic Geometry Library)
-// Copyright (c) 2014, Oracle and/or its affiliates.
+// 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
// Licensed under the Boost Software License version 1.0.
// http://www.boost.org/users/license.html
#define BOOST_GEOMETRY_GEOMETRIES_POINTING_SEGMENT_HPP
#include <cstddef>
+#include <type_traits>
#include <boost/concept/assert.hpp>
#include <boost/core/addressof.hpp>
-#include <boost/mpl/if.hpp>
-#include <boost/type_traits/is_const.hpp>
#include <boost/geometry/core/access.hpp>
#include <boost/geometry/core/assert.hpp>
class pointing_segment
{
BOOST_CONCEPT_ASSERT( (
- typename boost::mpl::if_
+ typename std::conditional
<
- boost::is_const<ConstOrNonConstPoint>,
+ std::is_const<ConstOrNonConstPoint>::value,
concepts::Point<ConstOrNonConstPoint>,
concepts::ConstPoint<ConstOrNonConstPoint>
>