]> git.sesse.net Git - casparcg/blob - dependencies/boost/boost/geometry/geometries/adapted/boost_range/sliced.hpp
Manually merged pull request #222
[casparcg] / dependencies / boost / boost / geometry / geometries / adapted / boost_range / sliced.hpp
1 // Boost.Geometry (aka GGL, Generic Geometry Library)
2
3 // Copyright (c) 2010-2011 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_SLICED_HPP
10 #define BOOST_GEOMETRY_GEOMETRIES_ADAPTED_BOOST_RANGE_SLICED_HPP
11
12
13 #include <boost/range/adaptor/sliced.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 struct tag<boost::adaptors::sliced_range<Geometry> >
27 {
28     typedef typename geometry::tag<Geometry>::type type;
29 };
30
31 }
32
33 }} // namespace boost::geometry
34
35 #endif // BOOST_GEOMETRY_GEOMETRIES_ADAPTED_BOOST_RANGE_SLICED_HPP
36