Document assignment from initializer list.

This commit is contained in:
Daniel James
2016-09-04 08:23:31 +01:00
parent da7a5bf269
commit 8bb9473443
2 changed files with 75 additions and 0 deletions
+15
View File
@@ -358,6 +358,21 @@ EOL;
</para>
</requires>
</method>
<method name="operator=">
<parameter>
<paramtype>initializer_list&lt;value_type&gt;</paramtype>
</parameter>
<type><?php echo $name; ?>&amp;</type>
<description>
<para>Assign from values in initializer list. All existing elements are either overwritten by the new elements or destroyed.</para>
</description>
<requires>
<para>
<code>value_type</code> is <code>CopyInsertable<code> into the container and
<code>CopyAssignable</code>.
</para>
</requires>
</method>
<method name="get_allocator" cv="const">
<type>allocator_type</type>
</method>