Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2007-12-09 14:44:47


Author: danieljames
Date: 2007-12-09 14:44:46 EST (Sun, 09 Dec 2007)
New Revision: 41932
URL: http://svn.boost.org/trac/boost/changeset/41932

Log:
Try to make the erase exception requirements a little clearer.
Text files modified:
   sandbox/unordered/libs/unordered/doc/ref.xml | 40 ++++++++++++++++++++--------------------
   1 files changed, 20 insertions(+), 20 deletions(-)

Modified: sandbox/unordered/libs/unordered/doc/ref.xml
==============================================================================
--- sandbox/unordered/libs/unordered/doc/ref.xml (original)
+++ sandbox/unordered/libs/unordered/doc/ref.xml 2007-12-09 14:44:46 EST (Sun, 09 Dec 2007)
@@ -329,8 +329,8 @@
                 <para>The iterator following <code>position</code> before the erasure.</para>
               </returns>
               <throws>
- <para>Only throws an exception, if it is thrown by a call to <code>hasher</code> or <code>key_equal</code>.</para>
- <para>They don't get called by the current implementation Boost.Unordered but other implementations may call them.</para>
+ <para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
+ <para>In this implementation, this overload doesn't call either function object's methods so it is no throw, but this might not be true in other implementations.</para>
               </throws>
             </method>
             <method name="erase">
@@ -345,7 +345,7 @@
                 <para>The number of elements erased.</para>
               </returns>
               <throws>
- <para>Only throws an exception, if it is thrown by a call to <code>hasher</code> or <code>key_equal</code>.</para>
+ <para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
               </throws>
             </method>
             <method name="erase">
@@ -363,8 +363,8 @@
                 <para>The iterator following the erased elements - i.e. <code>last</code>.</para>
               </returns>
               <throws>
- <para>Only throws an exception, if it is thrown by a call to <code>hasher</code> or <code>key_equal</code>.</para>
- <para>They don't get called by the current implementation Boost.Unordered but other implementations may call them.</para>
+ <para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
+ <para>In this implementation, this overload doesn't call either function object's methods so it is no throw, but this might not be true in other implementations.</para>
               </throws>
             </method>
             <method name="clear">
@@ -908,8 +908,8 @@
                 <para>The iterator following <code>position</code> before the erasure.</para>
               </returns>
               <throws>
- <para>Only throws an exception, if it is thrown by a call to <code>hasher</code> or <code>key_equal</code>.</para>
- <para>They don't get called by the current implementation Boost.Unordered but other implementations may call them.</para>
+ <para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
+ <para>In this implementation, this overload doesn't call either function object's methods so it is no throw, but this might not be true in other implementations.</para>
               </throws>
             </method>
             <method name="erase">
@@ -924,7 +924,7 @@
                 <para>The number of elements erased.</para>
               </returns>
               <throws>
- <para>Only throws an exception, if it is thrown by a call to <code>hasher</code> or <code>key_equal</code>.</para>
+ <para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
               </throws>
             </method>
             <method name="erase">
@@ -942,8 +942,8 @@
                 <para>The iterator following the erased elements - i.e. <code>last</code>.</para>
               </returns>
               <throws>
- <para>Only throws an exception, if it is thrown by a call to <code>hasher</code> or <code>key_equal</code>.</para>
- <para>They don't get called by the current implementation Boost.Unordered but other implementations may call them.</para>
+ <para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
+ <para>In this implementation, this overload doesn't call either function object's methods so it is no throw, but this might not be true in other implementations.</para>
               </throws>
             </method>
             <method name="clear">
@@ -1504,8 +1504,8 @@
                 <para>The iterator following <code>position</code> before the erasure.</para>
               </returns>
               <throws>
- <para>Only throws an exception, if it is thrown by a call to <code>hasher</code> or <code>key_equal</code>.</para>
- <para>They don't get called by the current implementation Boost.Unordered but other implementations may call them.</para>
+ <para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
+ <para>In this implementation, this overload doesn't call either function object's methods so it is no throw, but this might not be true in other implementations.</para>
               </throws>
             </method>
             <method name="erase">
@@ -1520,7 +1520,7 @@
                 <para>The number of elements erased.</para>
               </returns>
               <throws>
- <para>Only throws an exception, if it is thrown by a call to <code>hasher</code> or <code>key_equal</code>.</para>
+ <para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
               </throws>
             </method>
             <method name="erase">
@@ -1538,8 +1538,8 @@
                 <para>The iterator following the erased elements - i.e. <code>last</code>.</para>
               </returns>
               <throws>
- <para>Only throws an exception, if it is thrown by a call to <code>hasher</code> or <code>key_equal</code>.</para>
- <para>They don't get called by the current implementation Boost.Unordered but other implementations may call them.</para>
+ <para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
+ <para>In this implementation, this overload doesn't call either function object's methods so it is no throw, but this might not be true in other implementations.</para>
               </throws>
             </method>
             <method name="clear">
@@ -2127,8 +2127,8 @@
                 <para>The iterator following <code>position</code> before the erasure.</para>
               </returns>
               <throws>
- <para>Only throws an exception, if it is thrown by a call to <code>hasher</code> or <code>key_equal</code>.</para>
- <para>They don't get called by the current implementation Boost.Unordered but other implementations may call them.</para>
+ <para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
+ <para>In this implementation, this overload doesn't call either function object's methods so it is no throw, but this might not be true in other implementations.</para>
               </throws>
             </method>
             <method name="erase">
@@ -2143,7 +2143,7 @@
                 <para>The number of elements erased.</para>
               </returns>
               <throws>
- <para>Only throws an exception, if it is thrown by a call to <code>hasher</code> or <code>key_equal</code>.</para>
+ <para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
               </throws>
             </method>
             <method name="erase">
@@ -2161,8 +2161,8 @@
                 <para>The iterator following the erased elements - i.e. <code>last</code>.</para>
               </returns>
               <throws>
- <para>Only throws an exception, if it is thrown by a call to <code>hasher</code> or <code>key_equal</code>.</para>
- <para>They don't get called by the current implementation Boost.Unordered but other implementations may call them.</para>
+ <para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
+ <para>In this implementation, this overload doesn't call either function object's methods so it is no throw, but this might not be true in other implementations.</para>
               </throws>
             </method>
             <method name="clear">


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