1 // Boost.Geometry (aka GGL, Generic Geometry Library)
3 // Copyright (c) 2014, Oracle and/or its affiliates.
5 // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
7 // Licensed under the Boost Software License version 1.0.
8 // http://www.boost.org/users/license.html
10 #ifndef BOOST_GEOMETRY_ALGORITHS_DETAIL_DISTANCE_IS_COMPARABLE_HPP
11 #define BOOST_GEOMETRY_ALGORITHS_DETAIL_DISTANCE_IS_COMPARABLE_HPP
13 #include <boost/type_traits/is_same.hpp>
15 #include <boost/geometry/strategies/distance.hpp>
18 namespace boost { namespace geometry
21 #ifndef DOXYGEN_NO_DETAIL
22 namespace detail { namespace distance
26 // metafunction to determine is a strategy is comparable or not
27 template <typename Strategy>
32 typename strategy::distance::services::comparable_type
40 }} // namespace detail::distance
41 #endif // DOXYGEN_NO_DETAIL
43 }} // namespace boost::geometry
45 #endif // BOOST_GEOMETRY_ALGORITHS_DETAIL_DISTANCE_IS_COMPARABLE_HPP