Skip to content

Commit

Permalink
sparse_hash_map: update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonfoong committed Jun 14, 2022
1 parent 000a0a7 commit 3a86e00
Showing 1 changed file with 78 additions and 0 deletions.
78 changes: 78 additions & 0 deletions docs/sparse_hash_map.html
Original file line number Diff line number Diff line change
Expand Up @@ -1044,6 +1044,84 @@ <h3>Members</h3>
</TD>
</TR>

<TR>
<TD VAlign=top>
<pre>template&lt;class... Args&gt;
pair&lt;iterator, bool&gt; emplace(Args&amp;&amp;... args)</pre>
</TD>
<TD VAlign=top>
<tt>sparse_hash_map</tt>
</TD>
<TD VAlign=top>
Inserts a new element into the <tt>sparse_hash_map</tt>. The element is
constructed in-place with the given <tt>args</tt>.
</TD>
</TR>

<TR>
<TD VAlign=top>
<pre>template&lt;class... Args&gt;
pair&lt;iterator, bool&gt; try_emplace(const key_type&amp; k, Args&amp;&amp;... args)</pre>
</TD>
<TD VAlign=top>
<tt>sparse_hash_map</tt>
</TD>
<TD VAlign=top>
Inserts a new element into the <tt>sparse_hash_map</tt> with key <tt>k</tt>
and value constructed with <tt>args</tt>. Behaves like <tt>emplace</tt>
except that the element is constructed using <tt>std::pair</tt>'s
<tt>piecewise_construct</tt> constructor.
</TD>
</TR>

<TR>
<TD VAlign=top>
<pre>template&lt;class... Args&gt;
pair&lt;iterator, bool&gt; try_emplace(key_type&amp;&amp; k, Args&amp;&amp;... args)</pre>
</TD>
<TD VAlign=top>
<tt>sparse_hash_map</tt>
</TD>
<TD VAlign=top>
Inserts a new element into the <tt>sparse_hash_map</tt> with key <tt>k</tt>
and value constructed with <tt>args</tt>. Behaves like <tt>emplace</tt>
except that the element is constructed using <tt>std::pair</tt>'s
<tt>piecewise_construct</tt> constructor.
</TD>
</TR>

<TR>
<TD VAlign=top>
<pre>template&lt;class... Args&gt;
pair&lt;iterator, bool&gt; try_emplace(const_iterator hint, const key_type&amp; k, Args&amp;&amp;... args)</pre>
</TD>
<TD VAlign=top>
<tt>sparse_hash_map</tt>
</TD>
<TD VAlign=top>
Inserts a new element into the <tt>sparse_hash_map</tt> with key <tt>k</tt>
and value constructed with <tt>args</tt>. Behaves like <tt>emplace</tt>
except that the element is constructed using <tt>std::pair</tt>'s
<tt>piecewise_construct</tt> constructor.
</TD>
</TR>

<TR>
<TD VAlign=top>
<pre>template&lt;class... Args&gt;
pair&lt;iterator, bool&gt; try_emplace(const_iterator hint, key_type&amp;&amp; k, Args&amp;&amp;... args)</pre>
</TD>
<TD VAlign=top>
<tt>sparse_hash_map</tt>
</TD>
<TD VAlign=top>
Inserts a new element into the <tt>sparse_hash_map</tt> with key <tt>k</tt>
and value constructed with <tt>args</tt>. Behaves like <tt>emplace</tt>
except that the element is constructed using <tt>std::pair</tt>'s
<tt>piecewise_construct</tt> constructor.
</TD>
</TR>

<TR>
<TD VAlign=top>
<tt>void set_deleted_key(const key_type& key)</tt> <A href="#6">[6]</A>
Expand Down

0 comments on commit 3a86e00

Please sign in to comment.