diff options
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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
|
