mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-31 20:04:29 +02:00
editorial
This commit is contained in:
@@ -875,7 +875,7 @@ template<class K, class... Args>
|
|||||||
std::pair<iterator, bool> try_emplace(K&& k, Args&&... args);
|
std::pair<iterator, bool> try_emplace(K&& k, Args&&... args);
|
||||||
```
|
```
|
||||||
|
|
||||||
Inserts a new node into the container if there is no existing element with key `k` contained within it.
|
Inserts a new element into the container if there is no existing element with key `k` contained within it.
|
||||||
|
|
||||||
If there is an existing element with key `k` this function does nothing.
|
If there is an existing element with key `k` this function does nothing.
|
||||||
|
|
||||||
@@ -920,7 +920,7 @@ template<class K, class... Args>
|
|||||||
iterator try_emplace(const_iterator hint, K&& k, Args&&... args);
|
iterator try_emplace(const_iterator hint, K&& k, Args&&... args);
|
||||||
```
|
```
|
||||||
|
|
||||||
Inserts a new node into the container if there is no existing element with key `k` contained within it.
|
Inserts a new element into the container if there is no existing element with key `k` contained within it.
|
||||||
|
|
||||||
If there is an existing element with key `k` this function does nothing.
|
If there is an existing element with key `k` this function does nothing.
|
||||||
|
|
||||||
|
@@ -1013,7 +1013,7 @@ template <class K, class... Args>
|
|||||||
std::pair<iterator, bool> try_emplace(K&& k, Args&&... args)
|
std::pair<iterator, bool> try_emplace(K&& k, Args&&... args)
|
||||||
```
|
```
|
||||||
|
|
||||||
Inserts a new node into the container if there is no existing element with key `k` contained within it.
|
Inserts a new element into the container if there is no existing element with key `k` contained within it.
|
||||||
|
|
||||||
If there is an existing element with key `k` this function does nothing.
|
If there is an existing element with key `k` this function does nothing.
|
||||||
|
|
||||||
@@ -1062,7 +1062,7 @@ template<class K, class... Args>
|
|||||||
iterator try_emplace(const_iterator hint, K&& k, Args&&... args);
|
iterator try_emplace(const_iterator hint, K&& k, Args&&... args);
|
||||||
```
|
```
|
||||||
|
|
||||||
Inserts a new node into the container if there is no existing element with key `k` contained within it.
|
Inserts a new element into the container if there is no existing element with key `k` contained within it.
|
||||||
|
|
||||||
If there is an existing element with key `k` this function does nothing.
|
If there is an existing element with key `k` this function does nothing.
|
||||||
|
|
||||||
|
@@ -945,7 +945,7 @@ template<class K, class... Args>
|
|||||||
std::pair<iterator, bool> try_emplace(K&& k, Args&&... args);
|
std::pair<iterator, bool> try_emplace(K&& k, Args&&... args);
|
||||||
```
|
```
|
||||||
|
|
||||||
Inserts a new node into the container if there is no existing element with key `k` contained within it.
|
Inserts a new element into the container if there is no existing element with key `k` contained within it.
|
||||||
|
|
||||||
If there is an existing element with key `k` this function does nothing.
|
If there is an existing element with key `k` this function does nothing.
|
||||||
|
|
||||||
@@ -990,7 +990,7 @@ template<class K, class... Args>
|
|||||||
iterator try_emplace(const_iterator hint, K&& k, Args&&... args);
|
iterator try_emplace(const_iterator hint, K&& k, Args&&... args);
|
||||||
```
|
```
|
||||||
|
|
||||||
Inserts a new node into the container if there is no existing element with key `k` contained within it.
|
Inserts a new element into the container if there is no existing element with key `k` contained within it.
|
||||||
|
|
||||||
If there is an existing element with key `k` this function does nothing.
|
If there is an existing element with key `k` this function does nothing.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user