Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54339 - in trunk/libs/intrusive: doc example test
From: igaztanaga_at_[hidden]
Date: 2009-06-25 12:26:26


Author: igaztanaga
Date: 2009-06-25 12:26:25 EDT (Thu, 25 Jun 2009)
New Revision: 54339
URL: http://svn.boost.org/trac/boost/changeset/54339

Log:
Boost 1.40 changes
Text files modified:
   trunk/libs/intrusive/doc/intrusive.qbk | 9 +++++++++
   trunk/libs/intrusive/example/doc_avl_set.cpp | 2 +-
   trunk/libs/intrusive/example/doc_set.cpp | 2 +-
   trunk/libs/intrusive/example/doc_sg_set.cpp | 2 +-
   trunk/libs/intrusive/example/doc_splay_set.cpp | 2 +-
   trunk/libs/intrusive/test/avl_set_test.cpp | 1 +
   6 files changed, 14 insertions(+), 4 deletions(-)

Modified: trunk/libs/intrusive/doc/intrusive.qbk
==============================================================================
--- trunk/libs/intrusive/doc/intrusive.qbk (original)
+++ trunk/libs/intrusive/doc/intrusive.qbk 2009-06-25 12:26:25 EDT (Thu, 25 Jun 2009)
@@ -3703,6 +3703,15 @@
 
 [section:release_notes Release Notes]
 
+[section:release_notes_boost_1_40_00 Boost 1.40 Release]
+
+* Code cleanup in tree_algorithms.hpp and avl_tree_algorithms.hpp
+* Fixed bug
+ [@https://svn.boost.org/trac/boost/ticket/3164 #3164].
+
+[endsect]
+
+
 [section:release_notes_boost_1_39_00 Boost 1.39 Release]
 
 * Optimized `list::merge` and `slist::merge`

Modified: trunk/libs/intrusive/example/doc_avl_set.cpp
==============================================================================
--- trunk/libs/intrusive/example/doc_avl_set.cpp (original)
+++ trunk/libs/intrusive/example/doc_avl_set.cpp 2009-06-25 12:26:25 EDT (Thu, 25 Jun 2009)
@@ -34,7 +34,7 @@
    friend bool operator> (const MyClass &a, const MyClass &b)
       { return a.int_ > b.int_; }
    friend bool operator== (const MyClass &a, const MyClass &b)
- { return a.int_ < b.int_; }
+ { return a.int_ == b.int_; }
 };
 
 //Define an avl_set using the base hook that will store values in reverse order

Modified: trunk/libs/intrusive/example/doc_set.cpp
==============================================================================
--- trunk/libs/intrusive/example/doc_set.cpp (original)
+++ trunk/libs/intrusive/example/doc_set.cpp 2009-06-25 12:26:25 EDT (Thu, 25 Jun 2009)
@@ -34,7 +34,7 @@
    friend bool operator> (const MyClass &a, const MyClass &b)
       { return a.int_ > b.int_; }
    friend bool operator== (const MyClass &a, const MyClass &b)
- { return a.int_ < b.int_; }
+ { return a.int_ == b.int_; }
 };
 
 //Define a set using the base hook that will store values in reverse order

Modified: trunk/libs/intrusive/example/doc_sg_set.cpp
==============================================================================
--- trunk/libs/intrusive/example/doc_sg_set.cpp (original)
+++ trunk/libs/intrusive/example/doc_sg_set.cpp 2009-06-25 12:26:25 EDT (Thu, 25 Jun 2009)
@@ -33,7 +33,7 @@
    friend bool operator> (const MyClass &a, const MyClass &b)
       { return a.int_ > b.int_; }
    friend bool operator== (const MyClass &a, const MyClass &b)
- { return a.int_ < b.int_; }
+ { return a.int_ == b.int_; }
 };
 
 //Define an sg_set using the base hook that will store values in reverse order

Modified: trunk/libs/intrusive/example/doc_splay_set.cpp
==============================================================================
--- trunk/libs/intrusive/example/doc_splay_set.cpp (original)
+++ trunk/libs/intrusive/example/doc_splay_set.cpp 2009-06-25 12:26:25 EDT (Thu, 25 Jun 2009)
@@ -36,7 +36,7 @@
    friend bool operator> (const MyClass &a, const MyClass &b)
       { return a.int_ > b.int_; }
    friend bool operator== (const MyClass &a, const MyClass &b)
- { return a.int_ < b.int_; }
+ { return a.int_ == b.int_; }
 };
 
 //Define a set using the base hook that will store values in reverse order

Modified: trunk/libs/intrusive/test/avl_set_test.cpp
==============================================================================
--- trunk/libs/intrusive/test/avl_set_test.cpp (original)
+++ trunk/libs/intrusive/test/avl_set_test.cpp 2009-06-25 12:26:25 EDT (Thu, 25 Jun 2009)
@@ -132,6 +132,7 @@
    test_main_template<boost::intrusive::smart_ptr<void>, false>()();
    test_main_template<void*, true>()();
    test_main_template<boost::intrusive::smart_ptr<void>, true>()();
+
    return boost::report_errors();
 }
 


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