Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49056 - sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor
From: ockham_at_[hidden]
Date: 2008-09-29 18:07:32


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

Log:
More cleanup.
Text files modified:
   sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/ascending.hpp | 10 ++++------
   sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/general.hpp | 9 ++++-----
   sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/inorder.hpp | 6 +++---
   sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/iterative.hpp | 6 +++---
   sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/postorder.hpp | 6 +++---
   sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/preorder.hpp | 6 +++---
   6 files changed, 20 insertions(+), 23 deletions(-)

Modified: sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/ascending.hpp
==============================================================================
--- sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/ascending.hpp (original)
+++ sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/ascending.hpp 2008-09-29 18:07:31 EDT (Mon, 29 Sep 2008)
@@ -8,12 +8,10 @@
  * @file ascending.hpp
  * Ascending traversal algorithms for cursors
  */
-//TODO:
-// Concept checks: MultiwayTree, parent?
-// Optimise for trees such as binary_tree with their own ascending begin() members!
 
-#ifndef BOOST_TREE_DETAIL_ALGORITHM_CURSOR_ASCENDING_HPP
-#define BOOST_TREE_DETAIL_ALGORITHM_CURSOR_ASCENDING_HPP
+
+#ifndef BOOST_TREE_DETAIL_ALGORITHM_ASCENDING_HPP
+#define BOOST_TREE_DETAIL_ALGORITHM_ASCENDING_HPP
 
 
 namespace boost {
@@ -41,4 +39,4 @@
 } // namespace tree
 } // namespace boost
 
-#endif // BOOST_TREE_DETAIL_ALGORITHM_CURSOR_ASCENDING_HPP
+#endif // BOOST_TREE_DETAIL_ALGORITHM_ASCENDING_HPP

Modified: sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/general.hpp
==============================================================================
--- sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/general.hpp (original)
+++ sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/general.hpp 2008-09-29 18:07:31 EDT (Mon, 29 Sep 2008)
@@ -8,11 +8,10 @@
  * @file general.hpp
  * General algorithms for cursors
  */
-//TODO:
-// Concept checks
 
-#ifndef BOOST_TREE_DETAIL_ALGORITHM_CURSOR_GENERAL_HPP
-#define BOOST_TREE_DETAIL_ALGORITHM_CURSOR_GENERAL_HPP
+
+#ifndef BOOST_TREE_DETAIL_ALGORITHM_GENERAL_HPP
+#define BOOST_TREE_DETAIL_ALGORITHM_GENERAL_HPP
 
 
 namespace boost {
@@ -125,4 +124,4 @@
 } // namespace tree
 } // namespace boost
 
-#endif // BOOST_TREE_DETAIL_ALGORITHM_CURSOR_GENERAL_HPP
+#endif // BOOST_TREE_DETAIL_ALGORITHM_GENERAL_HPP

Modified: sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/inorder.hpp
==============================================================================
--- sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/inorder.hpp (original)
+++ sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/inorder.hpp 2008-09-29 18:07:31 EDT (Mon, 29 Sep 2008)
@@ -9,8 +9,8 @@
  * Subtree intorder traversal and search algorithms
  */
 
-#ifndef BOOST_TREE_DETAIL_ALGORITHM_CURSOR_INORDER_HPP
-#define BOOST_TREE_DETAIL_ALGORITHM_CURSOR_INORDER_HPP
+#ifndef BOOST_TREE_DETAIL_ALGORITHM_INORDER_HPP
+#define BOOST_TREE_DETAIL_ALGORITHM_INORDER_HPP
 
 #include <boost/tree/root_tracking_cursor.hpp>
 #include <boost/tree/ascending_cursor.hpp>
@@ -301,4 +301,4 @@
 } // namespace tree
 } // namespace boost
 
-#endif // BOOST_TREE_DETAIL_ALGORITHM_CURSOR_INORDER_HPP
+#endif // BOOST_TREE_DETAIL_ALGORITHM_INORDER_HPP

Modified: sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/iterative.hpp
==============================================================================
--- sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/iterative.hpp (original)
+++ sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/iterative.hpp 2008-09-29 18:07:31 EDT (Mon, 29 Sep 2008)
@@ -11,8 +11,8 @@
  * defined in the respective *order.hpp files).
  */
 
-#ifndef BOOST_TREE_DETAIL_ALGORITHM_CURSOR_ITERATIVE_HPP
-#define BOOST_TREE_DETAIL_ALGORITHM_CURSOR_ITERATIVE_HPP
+#ifndef BOOST_TREE_DETAIL_ALGORITHM_ITERATIVE_HPP
+#define BOOST_TREE_DETAIL_ALGORITHM_ITERATIVE_HPP
 
 #include <boost/tree/detail/algorithm/cursor/preorder.hpp>
 #include <boost/tree/detail/algorithm/cursor/inorder.hpp>
@@ -129,4 +129,4 @@
 } // namespace tree
 } // namespace boost
 
-#endif //BOOST_TREE_DETAIL_ALGORITHM_CURSOR_ITERATIVE_HPP
\ No newline at end of file
+#endif //BOOST_TREE_DETAIL_ALGORITHM_ITERATIVE_HPP
\ No newline at end of file

Modified: sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/postorder.hpp
==============================================================================
--- sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/postorder.hpp (original)
+++ sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/postorder.hpp 2008-09-29 18:07:31 EDT (Mon, 29 Sep 2008)
@@ -9,8 +9,8 @@
  * Subtree postorder traversal algorithms
  */
 
-#ifndef BOOST_TREE_DETAIL_ALGORITHM_CURSOR_POSTORDER_HPP
-#define BOOST_TREE_DETAIL_ALGORITHM_CURSOR_POSTORDER_HPP
+#ifndef BOOST_TREE_DETAIL_ALGORITHM_POSTORDER_HPP
+#define BOOST_TREE_DETAIL_ALGORITHM_POSTORDER_HPP
 
 #include <boost/tree/root_tracking_cursor.hpp>
 #include <boost/tree/ascending_cursor.hpp>
@@ -234,4 +234,4 @@
 } // namespace tree
 } // namespace boost
 
-#endif // BOOST_TREE_DETAIL_ALGORITHM_CURSOR_POSTORDER_HPP
+#endif // BOOST_TREE_DETAIL_ALGORITHM_POSTORDER_HPP

Modified: sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/preorder.hpp
==============================================================================
--- sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/preorder.hpp (original)
+++ sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/cursor/preorder.hpp 2008-09-29 18:07:31 EDT (Mon, 29 Sep 2008)
@@ -11,8 +11,8 @@
 
 // TODO: concept checks.
 
-#ifndef BOOST_TREE_DETAIL_ALGORITHM_CURSOR_PREORDER_HPP
-#define BOOST_TREE_DETAIL_ALGORITHM_CURSOR_PREORDER_HPP
+#ifndef BOOST_TREE_DETAIL_ALGORITHM_PREORDER_HPP
+#define BOOST_TREE_DETAIL_ALGORITHM_PREORDER_HPP
 
 #include <boost/tree/root_tracking_cursor.hpp>
 #include <boost/tree/ascending_cursor.hpp>
@@ -231,4 +231,4 @@
 } // namespace tree
 } // namespace boost
 
-#endif // BOOST_TREE_DETAIL_ALGORITHM_CURSOR_PREORDER_HPP
+#endif // BOOST_TREE_DETAIL_ALGORITHM_PREORDER_HPP


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