Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67480 - sandbox/geometry/boost/geometry/views
From: barend.gehrels_at_[hidden]
Date: 2010-12-28 13:41:24


Author: barendgehrels
Date: 2010-12-28 13:41:23 EST (Tue, 28 Dec 2010)
New Revision: 67480
URL: http://svn.boost.org/trac/boost/changeset/67480

Log:
Adapted reversible_view to new names for Boost 1.46 (trunk)
Text files modified:
   sandbox/geometry/boost/geometry/views/reversible_view.hpp | 5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)

Modified: sandbox/geometry/boost/geometry/views/reversible_view.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/views/reversible_view.hpp (original)
+++ sandbox/geometry/boost/geometry/views/reversible_view.hpp 2010-12-28 13:41:23 EST (Tue, 28 Dec 2010)
@@ -38,7 +38,12 @@
 template <typename Range>
 struct reversible_view<Range, iterate_reverse>
 {
+#if BOOST_VERSION > 104500
+ typedef boost::range_detail::reversed_range<Range> type;
+#else
+ // For Boost.Release:
     typedef boost::range_detail::reverse_range<Range> type;
+#endif
 };
 
 }} // namespace boost::geometry


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk