summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-02-25 12:24:50 +0100
committerGitHub <[email protected]>2021-02-25 12:24:50 +0100
commit7d608d825799b2cd8cc9f84bdd647848581787ae (patch)
treee4ecb965f88365502fe93495379b91464e143e2c
parent50c96c3ee5c25d9de38449a442679f895322f04e (diff)
downloadSTC-modified-7d608d825799b2cd8cc9f84bdd647848581787ae.tar.gz
STC-modified-7d608d825799b2cd8cc9f84bdd647848581787ae.zip
Update README.md
-rw-r--r--README.md4
1 files 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