Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55185 - trunk/libs/unordered/doc
From: daniel_james_at_[hidden]
Date: 2009-07-30 14:42:41


Author: danieljames
Date: 2009-07-26 15:00:40 EDT (Sun, 26 Jul 2009)
New Revision: 55185
URL: http://svn.boost.org/trac/boost/changeset/55185

Log:
Update the reference documentation to mention that emplace is now emulated.
Text files modified:
   trunk/libs/unordered/doc/ref.xml | 32 ++++++++++++++++++++++++--------
   1 files changed, 24 insertions(+), 8 deletions(-)

Modified: trunk/libs/unordered/doc/ref.xml
==============================================================================
--- trunk/libs/unordered/doc/ref.xml (original)
+++ trunk/libs/unordered/doc/ref.xml 2009-07-26 15:00:40 EDT (Sun, 26 Jul 2009)
@@ -284,7 +284,9 @@
               <notes>
                 <para>Can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor.</para>
                 <para>Pointers and references to elements are never invalidated.</para>
- <para>Only available on compilers with support for variadic template arguments and rvalue references.</para>
+ <para>If the compiler doesn't support variadic template arguments or rvalue
+ references, this is emulated for up to 10 arguments, with no support
+ for rvalue references or move semantics.</para>
               </notes>
             </method>
             <method name="emplace_hint">
@@ -313,7 +315,9 @@
                 <para>The standard is fairly vague on the meaning of the hint. But the only practical way to use it, and the only way that Boost.Unordered supports is to point to an existing element with the same value. </para>
                 <para>Can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor.</para>
                 <para>Pointers and references to elements are never invalidated.</para>
- <para>Only available on compilers with support for variadic template arguments and rvalue references.</para>
+ <para>If the compiler doesn't support variadic template arguments or rvalue
+ references, this is emulated for up to 10 arguments, with no support
+ for rvalue references or move semantics.</para>
               </notes>
             </method>
             <method name="insert">
@@ -1017,7 +1021,9 @@
               <notes>
                 <para>Can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor.</para>
                 <para>Pointers and references to elements are never invalidated.</para>
- <para>Only available on compilers with support for variadic template arguments and rvalue references.</para>
+ <para>If the compiler doesn't support variadic template arguments or rvalue
+ references, this is emulated for up to 10 arguments, with no support
+ for rvalue references or move semantics.</para>
               </notes>
             </method>
             <method name="emplace_hint">
@@ -1046,7 +1052,9 @@
                 <para>The standard is fairly vague on the meaning of the hint. But the only practical way to use it, and the only way that Boost.Unordered supports is to point to an existing element with the same value. </para>
                 <para>Can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor.</para>
                 <para>Pointers and references to elements are never invalidated.</para>
- <para>Only available on compilers with support for variadic template arguments and rvalue references.</para>
+ <para>If the compiler doesn't support variadic template arguments or rvalue
+ references, this is emulated for up to 10 arguments, with no support
+ for rvalue references or move semantics.</para>
               </notes>
             </method>
             <method name="insert">
@@ -1762,7 +1770,9 @@
               <notes>
                 <para>Can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor.</para>
                 <para>Pointers and references to elements are never invalidated.</para>
- <para>Only available on compilers with support for variadic template arguments and rvalue references.</para>
+ <para>If the compiler doesn't support variadic template arguments or rvalue
+ references, this is emulated for up to 10 arguments, with no support
+ for rvalue references or move semantics.</para>
               </notes>
             </method>
             <method name="emplace_hint">
@@ -1791,7 +1801,9 @@
                 <para>The standard is fairly vague on the meaning of the hint. But the only practical way to use it, and the only way that Boost.Unordered supports is to point to an existing element with the same key. </para>
                 <para>Can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor.</para>
                 <para>Pointers and references to elements are never invalidated.</para>
- <para>Only available on compilers with support for variadic template arguments and rvalue references.</para>
+ <para>If the compiler doesn't support variadic template arguments or rvalue
+ references, this is emulated for up to 10 arguments, with no support
+ for rvalue references or move semantics.</para>
               </notes>
             </method>
             <method name="insert">
@@ -2544,7 +2556,9 @@
               <notes>
                 <para>Can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor.</para>
                 <para>Pointers and references to elements are never invalidated.</para>
- <para>Only available on compilers with support for variadic template arguments and rvalue references.</para>
+ <para>If the compiler doesn't support variadic template arguments or rvalue
+ references, this is emulated for up to 10 arguments, with no support
+ for rvalue references or move semantics.</para>
               </notes>
             </method>
             <method name="emplace_hint">
@@ -2573,7 +2587,9 @@
                 <para>The standard is fairly vague on the meaning of the hint. But the only practical way to use it, and the only way that Boost.Unordered supports is to point to an existing element with the same key. </para>
                 <para>Can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor.</para>
                 <para>Pointers and references to elements are never invalidated.</para>
- <para>Only available on compilers with support for variadic template arguments and rvalue references.</para>
+ <para>If the compiler doesn't support variadic template arguments or rvalue
+ references, this is emulated for up to 10 arguments, with no support
+ for rvalue references or move semantics.</para>
               </notes>
             </method>
             <method name="insert">


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