Boost logo

Boost-Commit :

From: asutton_at_[hidden]
Date: 2008-08-11 19:01:37


Author: asutton
Date: 2008-08-11 19:01:37 EDT (Mon, 11 Aug 2008)
New Revision: 48095
URL: http://svn.boost.org/trac/boost/changeset/48095

Log:
Changed call from std::next to boost::next.

Text files modified:
   sandbox/SOC/2008/graphs/trunk/boost/descriptors/index_descriptor.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: sandbox/SOC/2008/graphs/trunk/boost/descriptors/index_descriptor.hpp
==============================================================================
--- sandbox/SOC/2008/graphs/trunk/boost/descriptors/index_descriptor.hpp (original)
+++ sandbox/SOC/2008/graphs/trunk/boost/descriptors/index_descriptor.hpp 2008-08-11 19:01:37 EDT (Mon, 11 Aug 2008)
@@ -2,6 +2,7 @@
 #ifndef INDEX_DESCRIPTOR_HPP
 #define INDEX_DESCRIPTOR_HPP
 
+#include <boost/next_prior.hpp>
 #include <boost/functional/hash.hpp>
 
 /**
@@ -63,7 +64,7 @@
 
     template <typename Container>
     inline typename Container::iterator get(Container& c) const
- { return std::next(c.begin(), value); }
+ { return boost::next(c.begin(), value); }
 
     descriptor_type value;
 };


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