editorial

This commit is contained in:
joaquintides committed 2023-05-21 12:43:45 +02:00
1 parent 96f5983f88
commit 2a28698c8c
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -945,7 +945,7 @@ template<class K, class... 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.
@@ -990,7 +990,7 @@ template<class K, class... 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.