Fix insert from range documentation.

Was the same for containers with unique and equivalent keys.
This commit is contained in:
Daniel James
2016-09-04 08:07:51 +01:00
parent e92f7d86c1
commit da7a5bf269
2 changed files with 15 additions and 5 deletions

View File

@ -640,7 +640,11 @@ EOL;
</parameter>
<type>void</type>
<description>
<para>Inserts a range of elements into the container. Elements are inserted if and only if there is no element in the container with an equivalent <?php echo $key_name; ?>.</para>
<para>Inserts a range of elements into the container.
<?php if (!$equivalent_keys): ?>
Elements are inserted if and only if there is no element in the container with an equivalent <?php echo $key_name; ?>.
<?php endif; ?>
</para>
</description>
<requires>
<para><code>value_type</code> is <code>EmplaceConstructible</code> into

View File

@ -537,7 +537,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
</parameter>
<type>void</type>
<description>
<para>Inserts a range of elements into the container. Elements are inserted if and only if there is no element in the container with an equivalent value.</para>
<para>Inserts a range of elements into the container.
Elements are inserted if and only if there is no element in the container with an equivalent value.
</para>
</description>
<requires>
<para><code>value_type</code> is <code>EmplaceConstructible</code> into
@ -1569,7 +1571,8 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
</parameter>
<type>void</type>
<description>
<para>Inserts a range of elements into the container. Elements are inserted if and only if there is no element in the container with an equivalent value.</para>
<para>Inserts a range of elements into the container.
</para>
</description>
<requires>
<para><code>value_type</code> is <code>EmplaceConstructible</code> into
@ -2618,7 +2621,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
</parameter>
<type>void</type>
<description>
<para>Inserts a range of elements into the container. Elements are inserted if and only if there is no element in the container with an equivalent key.</para>
<para>Inserts a range of elements into the container.
Elements are inserted if and only if there is no element in the container with an equivalent key.
</para>
</description>
<requires>
<para><code>value_type</code> is <code>EmplaceConstructible</code> into
@ -3697,7 +3702,8 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
</parameter>
<type>void</type>
<description>
<para>Inserts a range of elements into the container. Elements are inserted if and only if there is no element in the container with an equivalent key.</para>
<para>Inserts a range of elements into the container.
</para>
</description>
<requires>
<para><code>value_type</code> is <code>EmplaceConstructible</code> into