summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-10-30 15:10:53 +0100
committerGitHub <[email protected]>2020-10-30 15:10:53 +0100
commit0737c3feea3b8015d6db9440b8221374363272c9 (patch)
tree78cf4695d1c83473b4e4a82bcc6e6b66f816921b
parent7e0a545a2dfe14068d6d625ac791eeb98ed6ad13 (diff)
downloadSTC-modified-0737c3feea3b8015d6db9440b8221374363272c9.tar.gz
STC-modified-0737c3feea3b8015d6db9440b8221374363272c9.zip
Update README.md
-rw-r--r--README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/README.md b/README.md
index bf3465d6..a4831915 100644
--- a/README.md
+++ b/README.md
@@ -8,8 +8,7 @@ An elegant, fully typesafe, generic, customizable, user-friendly, consistent, an
- **stc/carray.h** - Dynamic generic **multi-dimensional array**, implemented as a single contiguous section of memory.
- **stc/cbitset.h** - Bitset similar to c++ std::bitset or boost::dynamic_bitset.
- **stc/clist.h** - A genric circular **singly linked list**. Can be used as a **queue** as it supports *push_back(), push_front(), and pop_front()*. It also contains various *splice* functions and *merge sort*.
-- **stc/cmap.h** - A generic **unordered map** implemented as open hashing without tombstones. Highly customizable and fast.
-- **stc/cset.h** - A generic **unordered set** implemented in tandem with *unordered map*
+- **stc/cmap.h** - A generic **unordered map / set** implemented as open hashing without tombstones. Highly customizable and fast.
- **stc/cstr.h** - Compact and powerful **string** class.
- **stc/cvec.h** - Dynamic generic **vector** class, works well as a **stack**.
- **stc/cstack.h** - **stack** adapter, currently works with *cvec*.
@@ -21,7 +20,7 @@ An elegant, fully typesafe, generic, customizable, user-friendly, consistent, an
- **stc/cfmt.h** - Implementation of **c_print()** with c++20 *std::format*-like formatting, including automatic detection of argument types.
- **stc/ccommon.h** - A common include file with a few general definitions.
-The usage of the containers is vert similar to the C++ standard containers, so it should be easy if you are familiar with them.
+The usage of the containers is quite similar to the C++ standard containers, so it should be easy if you are familiar with them.
All containers mentioned above, except cstr_t and cbitset_t, are generic and therefore typesafe (similar to templates in C++). No casting is used. A simple example:
```C