Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54566 - branches/sredl_2009_05_proptree_update/libs/property_tree
From: sebastian.redl_at_[hidden]
Date: 2009-07-01 14:55:32


Author: cornedbee
Date: 2009-07-01 14:55:32 EDT (Wed, 01 Jul 2009)
New Revision: 54566
URL: http://svn.boost.org/trac/boost/changeset/54566

Log:
Update breaking changes file.
Text files modified:
   branches/sredl_2009_05_proptree_update/libs/property_tree/breaking_changes.txt | 7 +++++--
   1 files changed, 5 insertions(+), 2 deletions(-)

Modified: branches/sredl_2009_05_proptree_update/libs/property_tree/breaking_changes.txt
==============================================================================
--- branches/sredl_2009_05_proptree_update/libs/property_tree/breaking_changes.txt (original)
+++ branches/sredl_2009_05_proptree_update/libs/property_tree/breaking_changes.txt 2009-07-01 14:55:32 EDT (Wed, 01 Jul 2009)
@@ -39,5 +39,8 @@
 
 - find
 find() returns an assoc_iterator.
-Impact: If you use find, you may have to change your code.
-Rationale: equal_range() also returns assoc_iterators.
+Impact: If you use find, you may have to change your code. Most importantly,
+ you need to compare against not_found() instead of end().
+Rationale: equal_range() also returns assoc_iterators. equal_range() cannot
+ return normal iterators, since the conversion would not preserve
+ the equal range or even the range property.


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