Unordered: Note about backwards compatability in emplace.

[SVN r74383]
This commit is contained in:
Daniel James
2011-09-15 08:22:29 +00:00
parent 983ad956e0
commit dbf7c9d6aa
2 changed files with 55 additions and 20 deletions

View File

@ -412,10 +412,13 @@ EOL;
<para>If the compiler doesn't support variadic template arguments or rvalue <para>If the compiler doesn't support variadic template arguments or rvalue
references, this is emulated for up to 10 arguments, with no support references, this is emulated for up to 10 arguments, with no support
for rvalue references or move semantics.</para> 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, <code>std::piecewise_construct</code> this emulates it,
but using <code>boost::unordered::piecewise_construct</code>. but using <code>boost::unordered::piecewise_construct</code>.</para>
</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> </notes>
</method> </method>
<method name="emplace_hint"> <method name="emplace_hint">
@ -454,9 +457,13 @@ EOL;
<para>If the compiler doesn't support variadic template arguments or rvalue <para>If the compiler doesn't support variadic template arguments or rvalue
references, this is emulated for up to 10 arguments, with no support references, this is emulated for up to 10 arguments, with no support
for rvalue references or move semantics.</para> 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, <code>std::piecewise_construct</code> this emulates it,
but using <code>boost::unordered::piecewise_construct</code>. 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> </para>
</notes> </notes>
</method> </method>

View File

@ -350,10 +350,13 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
<para>If the compiler doesn't support variadic template arguments or rvalue <para>If the compiler doesn't support variadic template arguments or rvalue
references, this is emulated for up to 10 arguments, with no support references, this is emulated for up to 10 arguments, with no support
for rvalue references or move semantics.</para> 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, <code>std::piecewise_construct</code> this emulates it,
but using <code>boost::unordered::piecewise_construct</code>. but using <code>boost::unordered::piecewise_construct</code>.</para>
</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> </notes>
</method> </method>
<method name="emplace_hint"> <method name="emplace_hint">
@ -385,9 +388,13 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
<para>If the compiler doesn't support variadic template arguments or rvalue <para>If the compiler doesn't support variadic template arguments or rvalue
references, this is emulated for up to 10 arguments, with no support references, this is emulated for up to 10 arguments, with no support
for rvalue references or move semantics.</para> 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, <code>std::piecewise_construct</code> this emulates it,
but using <code>boost::unordered::piecewise_construct</code>. 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> </para>
</notes> </notes>
</method> </method>
@ -1283,10 +1290,13 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
<para>If the compiler doesn't support variadic template arguments or rvalue <para>If the compiler doesn't support variadic template arguments or rvalue
references, this is emulated for up to 10 arguments, with no support references, this is emulated for up to 10 arguments, with no support
for rvalue references or move semantics.</para> 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, <code>std::piecewise_construct</code> this emulates it,
but using <code>boost::unordered::piecewise_construct</code>. but using <code>boost::unordered::piecewise_construct</code>.</para>
</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> </notes>
</method> </method>
<method name="emplace_hint"> <method name="emplace_hint">
@ -1318,9 +1328,13 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
<para>If the compiler doesn't support variadic template arguments or rvalue <para>If the compiler doesn't support variadic template arguments or rvalue
references, this is emulated for up to 10 arguments, with no support references, this is emulated for up to 10 arguments, with no support
for rvalue references or move semantics.</para> 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, <code>std::piecewise_construct</code> this emulates it,
but using <code>boost::unordered::piecewise_construct</code>. 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> </para>
</notes> </notes>
</method> </method>
@ -2228,10 +2242,13 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
<para>If the compiler doesn't support variadic template arguments or rvalue <para>If the compiler doesn't support variadic template arguments or rvalue
references, this is emulated for up to 10 arguments, with no support references, this is emulated for up to 10 arguments, with no support
for rvalue references or move semantics.</para> 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, <code>std::piecewise_construct</code> this emulates it,
but using <code>boost::unordered::piecewise_construct</code>. but using <code>boost::unordered::piecewise_construct</code>.</para>
</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> </notes>
</method> </method>
<method name="emplace_hint"> <method name="emplace_hint">
@ -2263,9 +2280,13 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
<para>If the compiler doesn't support variadic template arguments or rvalue <para>If the compiler doesn't support variadic template arguments or rvalue
references, this is emulated for up to 10 arguments, with no support references, this is emulated for up to 10 arguments, with no support
for rvalue references or move semantics.</para> 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, <code>std::piecewise_construct</code> this emulates it,
but using <code>boost::unordered::piecewise_construct</code>. 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> </para>
</notes> </notes>
</method> </method>
@ -3210,10 +3231,13 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
<para>If the compiler doesn't support variadic template arguments or rvalue <para>If the compiler doesn't support variadic template arguments or rvalue
references, this is emulated for up to 10 arguments, with no support references, this is emulated for up to 10 arguments, with no support
for rvalue references or move semantics.</para> 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, <code>std::piecewise_construct</code> this emulates it,
but using <code>boost::unordered::piecewise_construct</code>. but using <code>boost::unordered::piecewise_construct</code>.</para>
</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> </notes>
</method> </method>
<method name="emplace_hint"> <method name="emplace_hint">
@ -3245,9 +3269,13 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
<para>If the compiler doesn't support variadic template arguments or rvalue <para>If the compiler doesn't support variadic template arguments or rvalue
references, this is emulated for up to 10 arguments, with no support references, this is emulated for up to 10 arguments, with no support
for rvalue references or move semantics.</para> 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, <code>std::piecewise_construct</code> this emulates it,
but using <code>boost::unordered::piecewise_construct</code>. 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> </para>
</notes> </notes>
</method> </method>