Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/geometry/geometries/adapted/boost_range/reversed.hpp @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15:663ca0da4350 | 16:2665513ce2d3 |
---|---|
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_REVERSED_HPP | |
10 #define BOOST_GEOMETRY_GEOMETRIES_ADAPTED_BOOST_RANGE_REVERSED_HPP | |
11 | |
12 | |
13 #include <boost/range/adaptor/reversed.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::reversed_range<Geometry> > | |
28 #else | |
29 struct tag<boost::range_detail::reverse_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_REVERSED_HPP | |
40 |