From 2a28698c8c56e7d9f5dd1bb2957bd562de34e747 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sun, 21 May 2023 12:43:45 +0200 Subject: [PATCH] editorial --- doc/unordered/unordered_flat_map.adoc | 4 ++-- doc/unordered/unordered_map.adoc | 4 ++-- doc/unordered/unordered_node_map.adoc | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/unordered/unordered_flat_map.adoc b/doc/unordered/unordered_flat_map.adoc index 4ea094ab..3dc7ba41 100644 --- a/doc/unordered/unordered_flat_map.adoc +++ b/doc/unordered/unordered_flat_map.adoc @@ -875,7 +875,7 @@ template std::pair 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. @@ -920,7 +920,7 @@ template 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. diff --git a/doc/unordered/unordered_map.adoc b/doc/unordered/unordered_map.adoc index f3723cbc..1332cebe 100644 --- a/doc/unordered/unordered_map.adoc +++ b/doc/unordered/unordered_map.adoc @@ -1013,7 +1013,7 @@ template std::pair 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. @@ -1062,7 +1062,7 @@ template 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. diff --git a/doc/unordered/unordered_node_map.adoc b/doc/unordered/unordered_node_map.adoc index 36bd588f..38fb1c00 100644 --- a/doc/unordered/unordered_node_map.adoc +++ b/doc/unordered/unordered_node_map.adoc @@ -945,7 +945,7 @@ template std::pair 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 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.