]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/geometry/include/boost/geometry/geometries/adapted/boost_range/adjacent_filtered.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / geometry / include / boost / geometry / geometries / adapted / boost_range / adjacent_filtered.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_ADJACENT_FILTERED_HPP
10 #define BOOST_GEOMETRY_GEOMETRIES_ADAPTED_BOOST_RANGE_ADJACENT_FILTERED_HPP
11
12
13 #include <boost/range/adaptor/adjacent_filtered.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 Filter, typename Geometry, bool DefaultPass>
26 #if BOOST_VERSION > 104500
27 struct tag<boost::adjacent_filtered_range<Filter, Geometry, DefaultPass> >
28 #else
29 struct tag<boost::range_detail::adjacent_filter_range<Filter, Geometry, DefaultPass> >
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_ADJACENT_FILTERED_HPP
40