From 16d3b7d89f9749209e0c3686edb09f4f4e1532a1 Mon Sep 17 00:00:00 2001 From: Tyge Løvset <60263450+tylov@users.noreply.github.com> Date: Wed, 12 Jan 2022 11:56:37 +0100 Subject: Update README.md --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 86b49f48..ec8187c2 100644 --- a/README.md +++ b/README.md @@ -309,8 +309,11 @@ other elements using dynamic memory or shared resources. The **emplace** methods ***constructs*** or ***clones*** the given elements when they are added to the container. In contrast, the *non-emplace* methods ***moves*** the given elements into the -container. For containers of integral or trivial element types, **emplace** and corresponding -*non-emplace* methods are identical. +container. + +***Note***: For containers with integral/trivial element types, or when neither `i_keyraw/i_valraw` nor +`i_valfrom/i_valfrom` are defined, the **emplace** functions are *not* available (or needed), as it +can easier lead to mistakes. | non-emplace: Move | emplace: Clone | Container | |:--------------------------|:-----------------------------|:--------------------------------------------| -- cgit v1.2.3