summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-04-12 11:00:31 +0200
committerTyge Løvset <[email protected]>2021-04-12 11:00:31 +0200
commit8dcc8600eb7b4cb11df377a8ae78a24281657873 (patch)
tree192bbcd788c75eeef7cbe22dbe00ec46e99d6995 /docs
parent4db3f43304da1c0b12dcefd15f9f80a4e5a76c79 (diff)
downloadSTC-modified-8dcc8600eb7b4cb11df377a8ae78a24281657873.tar.gz
STC-modified-8dcc8600eb7b4cb11df377a8ae78a24281657873.zip
Fixed bug in csmap_X_erase_at() when erasing last element in map.
Diffstat (limited to 'docs')
-rw-r--r--docs/clist_api.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/clist_api.md b/docs/clist_api.md
index 4660ad9c..9d0945d6 100644
--- a/docs/clist_api.md
+++ b/docs/clist_api.md
@@ -1,10 +1,10 @@
-# STC [clist](../stc/clist.h): Singly Linked List
+# STC [clist](../stc/clist.h): Forward List
![List](pics/list.jpg)
The **clist** container supports fast insertion and removal of elements from anywhere in the container.
Fast random access is not supported.
-Unlike the c++ class *std::forward_list*, **clist** has an API similar to *std::list*, and also supports
+Unlike the c++ class *std::forward_list*, **clist** has an API similar to ***std::list***, and also supports
*push_back()* (**O**(1) time). It is still implemented as a singly-linked list. A **clist** object
occupies only one pointer in memory, and like *std::forward_list* the length of the list is not stored.
The method *clist_X_count()* returns size of list, computed in **O**(*n*) time.