]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/geometry/include/boost/geometry/views/detail/boundary_view/interface.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / geometry / include / boost / geometry / views / detail / boundary_view / interface.hpp
CommitLineData
7c673cae
FG
1// Boost.Geometry (aka GGL, Generic Geometry Library)
2
3// Copyright (c) 2015, Oracle and/or its affiliates.
4
5// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
6
7// Licensed under the Boost Software License version 1.0.
8// http://www.boost.org/users/license.html
9
10#ifndef BOOST_GEOMETRY_VIEWS_DETAIL_BOUNDARY_VIEW_INTERFACE_HPP
11#define BOOST_GEOMETRY_VIEWS_DETAIL_BOUNDARY_VIEW_INTERFACE_HPP
12
13#include <boost/geometry/core/tag.hpp>
14#include <boost/geometry/algorithms/not_implemented.hpp>
15
16
17namespace boost { namespace geometry
18{
19
20
21#ifndef DOXYGEN_NO_DISPATCH
22namespace detail_dispatch
23{
24
25template <typename Geometry, typename Tag = typename tag<Geometry>::type>
26struct boundary_view
27 : not_implemented<Tag>
28{};
29
30} // namespace detail_dispatch
31#endif // DOXYGEN_NO_DISPATCH
32
33
34#ifndef DOXYGEN_NO_DETAIL
35namespace detail
36{
37
38template <typename Geometry>
39struct boundary_view
40 : detail_dispatch::boundary_view<Geometry>
41{
42 explicit boundary_view(Geometry& geometry)
43 : detail_dispatch::boundary_view<Geometry>(geometry)
44 {}
45};
46
47} // namespace detail
48#endif // DOXYGEN_NO_DETAIL
49
50
51#ifndef DOXYGEN_NO_TRAITS_SPECIALIZATIONS
52namespace traits
53{
54
55template <typename Geometry>
56struct tag< geometry::detail::boundary_view<Geometry> >
57{
58 typedef typename detail_dispatch::boundary_view
59 <
60 Geometry
61 >::tag_type type;
62};
63
64} // namespace traits
65#endif // DOXYGEN_NO_TRAITS_SPECIALIZATIONS
66
67
68}} // namespace boost::geometry
69
70#endif // BOOST_GEOMETRY_VIEWS_DETAIL_BOUNDARY_VIEW_INTERFACE_HPP