|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49675 - in sandbox/SOC/2006/tree/trunk/boost/tree: . detail/cursor
From: ockham_at_[hidden]
Date: 2008-11-10 10:33:03
Author: bernhard.reiter
Date: 2008-11-10 10:33:03 EST (Mon, 10 Nov 2008)
New Revision: 49675
URL: http://svn.boost.org/trac/boost/changeset/49675
Log:
par() -> idx()
Text files modified:
sandbox/SOC/2006/tree/trunk/boost/tree/ascending_cursor.hpp | 2 +-
sandbox/SOC/2006/tree/trunk/boost/tree/cursor_adaptor.hpp | 2 +-
sandbox/SOC/2006/tree/trunk/boost/tree/cursor_facade.hpp | 2 +-
sandbox/SOC/2006/tree/trunk/boost/tree/detail/cursor/nary.hpp | 7 ++++---
4 files changed, 7 insertions(+), 6 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-11-10 10:33:03 EST (Mon, 10 Nov 2008)
@@ -147,7 +147,7 @@
return m_s.top().max_size();
}
- size_type const par() const
+ size_type const idx() const
{
return m_s.top().index();
}
Modified: sandbox/SOC/2006/tree/trunk/boost/tree/cursor_adaptor.hpp
==============================================================================
--- sandbox/SOC/2006/tree/trunk/boost/tree/cursor_adaptor.hpp (original)
+++ sandbox/SOC/2006/tree/trunk/boost/tree/cursor_adaptor.hpp 2008-11-10 10:33:03 EST (Mon, 10 Nov 2008)
@@ -201,7 +201,7 @@
return m_cursor.max_size();
}
- size_type const par() const
+ size_type const idx() const
{
return m_cursor.index();
}
Modified: sandbox/SOC/2006/tree/trunk/boost/tree/cursor_facade.hpp
==============================================================================
--- sandbox/SOC/2006/tree/trunk/boost/tree/cursor_facade.hpp (original)
+++ sandbox/SOC/2006/tree/trunk/boost/tree/cursor_facade.hpp 2008-11-10 10:33:03 EST (Mon, 10 Nov 2008)
@@ -55,7 +55,7 @@
template <class Facade>
static typename Facade::size_type par(Facade const& f)
{
- return f.par();
+ return f.idx();
}
template <class Facade>
Modified: sandbox/SOC/2006/tree/trunk/boost/tree/detail/cursor/nary.hpp
==============================================================================
--- sandbox/SOC/2006/tree/trunk/boost/tree/detail/cursor/nary.hpp (original)
+++ sandbox/SOC/2006/tree/trunk/boost/tree/detail/cursor/nary.hpp 2008-11-10 10:33:03 EST (Mon, 10 Nov 2008)
@@ -160,7 +160,7 @@
return m_node->max_size();
}
- size_type par() const
+ size_type idx() const
{
return m_pos;
//return
@@ -228,13 +228,14 @@
};
+} // namespace detail
+
template <class Node>
-typename nary_tree_cursor<Node>::size_type index(nary_tree_cursor<Node> const& cur)
+typename detail::nary_tree_cursor<Node>::size_type index(detail::nary_tree_cursor<Node> const& cur)
{
return cur.index();
}
-} // namespace detail
} // namespace tree
} // namespace boost
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