Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49060 - sandbox/SOC/2006/tree/trunk/boost/tree
From: ockham_at_[hidden]
Date: 2008-09-29 18:19:43


Author: bernhard.reiter
Date: 2008-09-29 18:19:43 EDT (Mon, 29 Sep 2008)
New Revision: 49060
URL: http://svn.boost.org/trac/boost/changeset/49060

Log:
More cleanup.
Text files modified:
   sandbox/SOC/2006/tree/trunk/boost/tree/ascending_cursor.hpp | 24 +++---------------------
   1 files changed, 3 insertions(+), 21 deletions(-)

Modified: sandbox/SOC/2006/tree/trunk/boost/tree/ascending_cursor.hpp
==============================================================================
--- sandbox/SOC/2006/tree/trunk/boost/tree/ascending_cursor.hpp (original)
+++ sandbox/SOC/2006/tree/trunk/boost/tree/ascending_cursor.hpp 2008-09-29 18:19:43 EDT (Mon, 29 Sep 2008)
@@ -15,6 +15,7 @@
 
 #include <boost/tree/cursor.hpp>
 #include <boost/tree/cursor_facade.hpp>
+#include <boost/tree/iterator.hpp>
 #include <boost/tree/root_tracking_cursor.hpp>
 
 #include <boost/tree/detail/algorithm/ascending.hpp>
@@ -85,33 +86,14 @@
     )
       : m_s(other.m_s) {}
 
- struct root_tracker {
- root_tracker() {}
- root_tracker& operator++()
- {
- return *this;
- }
-
- root_tracker& operator--()
- {
- return *this;
- }
-
- bool is_root(cursor c)
- {
- return (c.is_root());
- }
- };
-
- private:
-
+private:
     friend class boost::iterator_core_access;
     friend class boost::tree::cursor_core_access;
     
     friend class root_tracking_cursor<self_type>;
     
 // friend
-// typename iterator<ascending, self_type>::difference_type
+// typename boost::tree::iterator<ascending, self_type>::difference_type
 // boost::tree::distance<>(
 // boost::tree::iterator<ascending, self_type>
 // , boost::tree::iterator<ascending, self_type>);


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