std::unordered_set::insert
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody> std::pair<iterator,bool> insert( const value_type& value ); |
(1) | (desde C++11) |
std::pair<iterator, bool> insert( value_type&& value ); |
(2) | (desde C++11) |
iterator insert( const_iterator hint, const value_type& value ); |
(3) | (desde C++11) |
iterator insert( const_iterator hint, value_type&& value ); |
(4) | (desde C++11) |
template< class InputIt > void insert( InputIt first, InputIt last ); |
(5) | (desde C++11) |
void insert( std::initializer_list<value_type> ilist ); |
(6) | (desde C++11) |
Inserts element(s) to the container, if the container doesn't already contain an element with equivalent key.
1-2)
insere
value. Original:
inserts