From 7d608d825799b2cd8cc9f84bdd647848581787ae Mon Sep 17 00:00:00 2001 From: Tyge Løvset <60263450+tylov@users.noreply.github.com> Date: Thu, 25 Feb 2021 12:24:50 +0100 Subject: Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9e6960ba..b186c32b 100644 --- a/README.md +++ b/README.md @@ -204,13 +204,13 @@ elements using dynamic memory. | insert() | emplace() | cmap, cset, csmap, csset | | insert_or_assign(), put() | emplace_or_assign() | cmap, csmap | | push_back() | emplace_back() | cvec, cdeq, clist | -| push_front() | emplace_front() | cvec, cdeq, clist | +| push_front() | emplace_front() | cdeq, clist | | insert_after() | emplace_after() | clist | ***Note***: For containers of integral or trivial element types, **emplace** and corresponding non-emplace methods are identical, so the following does not apply for those. -The **emplace** methods ***constructs*** or ***clones*** their own copy of the element to be added. +The **emplace** methods ***construct*** or ***clone*** their own copy of the element to be added. In contrast, the non-emplace methods requires elements to be explicitly constructed or cloned before adding them. Strings are the most commonly used non-trivial data type. STC containers have proper pre-defined -- cgit v1.2.3