|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r74383 - trunk/libs/unordered/doc
From: dnljms_at_[hidden]
Date: 2011-09-15 04:22:33
Author: danieljames
Date: 2011-09-15 04:22:29 EDT (Thu, 15 Sep 2011)
New Revision: 74383
URL: http://svn.boost.org/trac/boost/changeset/74383
Log:
Unordered: Note about backwards compatability in emplace.
Text files modified:
trunk/libs/unordered/doc/ref.php | 15 +++++++--
trunk/libs/unordered/doc/ref.xml | 60 +++++++++++++++++++++++++++++----------
2 files changed, 55 insertions(+), 20 deletions(-)
Modified: trunk/libs/unordered/doc/ref.php
==============================================================================
--- trunk/libs/unordered/doc/ref.php (original)
+++ trunk/libs/unordered/doc/ref.php 2011-09-15 04:22:29 EDT (Thu, 15 Sep 2011)
@@ -412,10 +412,13 @@
<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>
- <para>Since existing `std::pair` implementations don't support
+ <para>Since existing <code>std::pair</code> implementations don't support
<code>std::piecewise_construct</code> this emulates it,
- but using <code>boost::unordered::piecewise_construct</code>.
- </para>
+ but using <code>boost::unordered::piecewise_construct</code>.</para>
+ <para>In version of Boost before 1.48 this emulated the variadic pair
+ constructor from older C++0x drafts. For backwards compatability
+ this can be enabled by defining the macro
+ <code>BOOST_UNORDERED_DEPRECATED_PAIR_CONSTRUCT</code>.
</notes>
</method>
<method name="emplace_hint">
@@ -454,9 +457,13 @@
<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>
- <para>Since existing `std::pair` implementations don't support
+ <para>Since existing <code>std::pair</code> implementations don't support
<code>std::piecewise_construct</code> this emulates it,
but using <code>boost::unordered::piecewise_construct</code>.
+ <para>In version of Boost before 1.48 this emulated the variadic pair
+ constructor from older C++0x drafts. For backwards compatability
+ this can be enabled by defining the macro
+ <code>BOOST_UNORDERED_DEPRECATED_PAIR_CONSTRUCT</code>.
</para>
</notes>
</method>
Modified: trunk/libs/unordered/doc/ref.xml
==============================================================================
--- trunk/libs/unordered/doc/ref.xml (original)
+++ trunk/libs/unordered/doc/ref.xml 2011-09-15 04:22:29 EDT (Thu, 15 Sep 2011)
@@ -350,10 +350,13 @@
<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>
- <para>Since existing `std::pair` implementations don't support
+ <para>Since existing <code>std::pair</code> implementations don't support
<code>std::piecewise_construct</code> this emulates it,
- but using <code>boost::unordered::piecewise_construct</code>.
- </para>
+ but using <code>boost::unordered::piecewise_construct</code>.</para>
+ <para>In version of Boost before 1.48 this emulated the variadic pair
+ constructor from older C++0x drafts. For backwards compatability
+ this can be enabled by defining the macro
+ <code>BOOST_UNORDERED_DEPRECATED_PAIR_CONSTRUCT</code>.
</notes>
</method>
<method name="emplace_hint">
@@ -385,9 +388,13 @@
<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>
- <para>Since existing `std::pair` implementations don't support
+ <para>Since existing <code>std::pair</code> implementations don't support
<code>std::piecewise_construct</code> this emulates it,
but using <code>boost::unordered::piecewise_construct</code>.
+ <para>In version of Boost before 1.48 this emulated the variadic pair
+ constructor from older C++0x drafts. For backwards compatability
+ this can be enabled by defining the macro
+ <code>BOOST_UNORDERED_DEPRECATED_PAIR_CONSTRUCT</code>.
</para>
</notes>
</method>
@@ -1283,10 +1290,13 @@
<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>
- <para>Since existing `std::pair` implementations don't support
+ <para>Since existing <code>std::pair</code> implementations don't support
<code>std::piecewise_construct</code> this emulates it,
- but using <code>boost::unordered::piecewise_construct</code>.
- </para>
+ but using <code>boost::unordered::piecewise_construct</code>.</para>
+ <para>In version of Boost before 1.48 this emulated the variadic pair
+ constructor from older C++0x drafts. For backwards compatability
+ this can be enabled by defining the macro
+ <code>BOOST_UNORDERED_DEPRECATED_PAIR_CONSTRUCT</code>.
</notes>
</method>
<method name="emplace_hint">
@@ -1318,9 +1328,13 @@
<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>
- <para>Since existing `std::pair` implementations don't support
+ <para>Since existing <code>std::pair</code> implementations don't support
<code>std::piecewise_construct</code> this emulates it,
but using <code>boost::unordered::piecewise_construct</code>.
+ <para>In version of Boost before 1.48 this emulated the variadic pair
+ constructor from older C++0x drafts. For backwards compatability
+ this can be enabled by defining the macro
+ <code>BOOST_UNORDERED_DEPRECATED_PAIR_CONSTRUCT</code>.
</para>
</notes>
</method>
@@ -2228,10 +2242,13 @@
<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>
- <para>Since existing `std::pair` implementations don't support
+ <para>Since existing <code>std::pair</code> implementations don't support
<code>std::piecewise_construct</code> this emulates it,
- but using <code>boost::unordered::piecewise_construct</code>.
- </para>
+ but using <code>boost::unordered::piecewise_construct</code>.</para>
+ <para>In version of Boost before 1.48 this emulated the variadic pair
+ constructor from older C++0x drafts. For backwards compatability
+ this can be enabled by defining the macro
+ <code>BOOST_UNORDERED_DEPRECATED_PAIR_CONSTRUCT</code>.
</notes>
</method>
<method name="emplace_hint">
@@ -2263,9 +2280,13 @@
<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>
- <para>Since existing `std::pair` implementations don't support
+ <para>Since existing <code>std::pair</code> implementations don't support
<code>std::piecewise_construct</code> this emulates it,
but using <code>boost::unordered::piecewise_construct</code>.
+ <para>In version of Boost before 1.48 this emulated the variadic pair
+ constructor from older C++0x drafts. For backwards compatability
+ this can be enabled by defining the macro
+ <code>BOOST_UNORDERED_DEPRECATED_PAIR_CONSTRUCT</code>.
</para>
</notes>
</method>
@@ -3210,10 +3231,13 @@
<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>
- <para>Since existing `std::pair` implementations don't support
+ <para>Since existing <code>std::pair</code> implementations don't support
<code>std::piecewise_construct</code> this emulates it,
- but using <code>boost::unordered::piecewise_construct</code>.
- </para>
+ but using <code>boost::unordered::piecewise_construct</code>.</para>
+ <para>In version of Boost before 1.48 this emulated the variadic pair
+ constructor from older C++0x drafts. For backwards compatability
+ this can be enabled by defining the macro
+ <code>BOOST_UNORDERED_DEPRECATED_PAIR_CONSTRUCT</code>.
</notes>
</method>
<method name="emplace_hint">
@@ -3245,9 +3269,13 @@
<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>
- <para>Since existing `std::pair` implementations don't support
+ <para>Since existing <code>std::pair</code> implementations don't support
<code>std::piecewise_construct</code> this emulates it,
but using <code>boost::unordered::piecewise_construct</code>.
+ <para>In version of Boost before 1.48 this emulated the variadic pair
+ constructor from older C++0x drafts. For backwards compatability
+ this can be enabled by defining the macro
+ <code>BOOST_UNORDERED_DEPRECATED_PAIR_CONSTRUCT</code>.
</para>
</notes>
</method>
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