summaryrefslogtreecommitdiff
path: root/boost/geometry/index/detail/algorithms/content.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/geometry/index/detail/algorithms/content.hpp')
-rw-r--r--boost/geometry/index/detail/algorithms/content.hpp20
1 files changed, 14 insertions, 6 deletions
diff --git a/boost/geometry/index/detail/algorithms/content.hpp b/boost/geometry/index/detail/algorithms/content.hpp
index 7833ae3776..f7dfe373d8 100644
--- a/boost/geometry/index/detail/algorithms/content.hpp
+++ b/boost/geometry/index/detail/algorithms/content.hpp
@@ -4,8 +4,9 @@
//
// Copyright (c) 2011-2014 Adam Wulkiewicz, Lodz, Poland.
//
-// This file was modified by Oracle on 2020.
-// Modifications copyright (c) 2020 Oracle and/or its affiliates.
+// This file was modified by Oracle on 2020-2023.
+// Modifications copyright (c) 2020-2023 Oracle and/or its affiliates.
+// Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
//
// Use, modification and distribution is subject to the Boost Software License,
@@ -15,17 +16,24 @@
#ifndef BOOST_GEOMETRY_INDEX_DETAIL_ALGORITHMS_CONTENT_HPP
#define BOOST_GEOMETRY_INDEX_DETAIL_ALGORITHMS_CONTENT_HPP
+#include <boost/geometry/core/access.hpp>
+#include <boost/geometry/core/coordinate_dimension.hpp>
+#include <boost/geometry/core/coordinate_type.hpp>
#include <boost/geometry/core/static_assert.hpp>
+#include <boost/geometry/core/tag.hpp>
+#include <boost/geometry/core/tags.hpp>
+#include <boost/geometry/util/select_most_precise.hpp>
namespace boost { namespace geometry { namespace index { namespace detail {
template <typename Indexable>
struct default_content_result
{
- typedef typename select_most_precise<
- typename coordinate_type<Indexable>::type,
- long double
- >::type type;
+ using type = typename select_most_precise
+ <
+ typename coordinate_type<Indexable>::type,
+ double
+ >::type;
};
namespace dispatch {