]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/geometry/geometries/adapted/boost_range/uniqued.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / geometry / geometries / adapted / boost_range / uniqued.hpp
1 // Boost.Geometry (aka GGL, Generic Geometry Library)
2
3 // Copyright (c) 2010-2012 Barend Gehrels, Amsterdam, the Netherlands.
4
5 // Use, modification and distribution is subject to the Boost Software License,
6 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
8
9 #ifndef BOOST_GEOMETRY_GEOMETRIES_ADAPTED_BOOST_RANGE_UNIQUED_HPP
10 #define BOOST_GEOMETRY_GEOMETRIES_ADAPTED_BOOST_RANGE_UNIQUED_HPP
11
12
13 #include <boost/range/adaptor/uniqued.hpp>
14
15 #include <boost/geometry/core/tag.hpp>
16 #include <boost/geometry/core/tags.hpp>
17
18
19 namespace boost { namespace geometry
20 {
21
22 namespace traits
23 {
24
25 template<typename Geometry>
26 #if BOOST_VERSION > 104500
27 struct tag<boost::uniqued_range<Geometry> >
28 #else
29 struct tag<boost::range_detail::unique_range<Geometry> >
30 #endif
31 {
32 typedef typename geometry::tag<Geometry>::type type;
33 };
34
35 }
36
37 }} // namespace boost::geometry
38
39 #endif // BOOST_GEOMETRY_GEOMETRIES_ADAPTED_BOOST_RANGE_UNIQUED_HPP
40