1 // Boost.Geometry (aka GGL, Generic Geometry Library)
3 // Copyright (c) 2010-2012 Barend Gehrels, Amsterdam, the Netherlands.
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)
9 #ifndef BOOST_GEOMETRY_GEOMETRIES_ADAPTED_BOOST_RANGE_ADJACENT_FILTERED_HPP
10 #define BOOST_GEOMETRY_GEOMETRIES_ADAPTED_BOOST_RANGE_ADJACENT_FILTERED_HPP
13 #include <boost/range/adaptor/adjacent_filtered.hpp>
15 #include <boost/geometry/core/tag.hpp>
16 #include <boost/geometry/core/tags.hpp>
19 namespace boost { namespace geometry
25 template<typename Filter, typename Geometry, bool DefaultPass>
26 #if BOOST_VERSION > 104500
27 struct tag<boost::adjacent_filtered_range<Filter, Geometry, DefaultPass> >
29 struct tag<boost::range_detail::adjacent_filter_range<Filter, Geometry, DefaultPass> >
32 typedef typename geometry::tag<Geometry>::type type;
37 }} // namespace boost::geometry
39 #endif // BOOST_GEOMETRY_GEOMETRIES_ADAPTED_BOOST_RANGE_ADJACENT_FILTERED_HPP