[views] In random_access_view prefix detail namespace

Distinguish between geometry::detail and traits::detail used in
the adaptation of c_array.
This commit is contained in:
Adam Wulkiewicz
2022-04-08 11:29:54 +02:00
parent 729ba71826
commit f3d276c8f0

View File

@@ -156,36 +156,36 @@ namespace traits
{
template<typename GeometryCollection, bool IsRandomAccess, bool IsRecursive>
struct tag<detail::random_access_view<GeometryCollection, IsRandomAccess, IsRecursive>>
struct tag<geometry::detail::random_access_view<GeometryCollection, IsRandomAccess, IsRecursive>>
{
using type = geometry_collection_tag;
};
template <typename GeometryCollection>
struct iter_visit<detail::random_access_view<GeometryCollection, false, false>>
struct iter_visit<geometry::detail::random_access_view<GeometryCollection, false, false>>
: geometry::detail::random_access_view_iter_visit<GeometryCollection>
{};
template <typename GeometryCollection>
struct iter_visit<detail::random_access_view<GeometryCollection, true, true>>
struct iter_visit<geometry::detail::random_access_view<GeometryCollection, true, true>>
: geometry::detail::random_access_view_iter_visit<GeometryCollection>
{};
template <typename GeometryCollection>
struct iter_visit<detail::random_access_view<GeometryCollection, false, true>>
struct iter_visit<geometry::detail::random_access_view<GeometryCollection, false, true>>
: geometry::detail::random_access_view_iter_visit<GeometryCollection>
{};
template <typename GeometryCollection, bool IsRandomAccess>
struct geometry_types<detail::random_access_view<GeometryCollection, IsRandomAccess, false>>
struct geometry_types<geometry::detail::random_access_view<GeometryCollection, IsRandomAccess, false>>
: geometry_types<GeometryCollection>
{};
template <typename GeometryCollection, bool IsRandomAccess>
struct geometry_types<detail::random_access_view<GeometryCollection, IsRandomAccess, true>>
: detail::remove_geometry_collections
struct geometry_types<geometry::detail::random_access_view<GeometryCollection, IsRandomAccess, true>>
: geometry::detail::remove_geometry_collections
<
typename traits::geometry_types
<