summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-02-16 23:06:05 +0100
committerGitHub <[email protected]>2021-02-16 23:06:05 +0100
commit50da849da89723416bc16093c7469cd49986e052 (patch)
tree5c45768343265c9987e4ead1103ab2c93922faf0
parent8772299fdc6ee0686b5993996ea8bbe30ab53c1b (diff)
downloadSTC-modified-50da849da89723416bc16093c7469cd49986e052.tar.gz
STC-modified-50da849da89723416bc16093c7469cd49986e052.zip
Update README.md
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index d134bd96..c08fe5c9 100644
--- a/README.md
+++ b/README.md
@@ -208,6 +208,8 @@ to the container value type. By default, *rawvalue has the same type as value*.
**emplace_front()**, **emplace()**, **put()** takes the rawvalue-type instead of value. Adding literal strings to
containers with **cstr**-elements becomes simple:
```c
+using_cvec_str(); // predefined using-statement for cvec of cstr, with `const char*` as rawvalue.
+...
cvec_str_emplace_back(&vec, "Hello");
clist_str_emplace_front(&list, "Hello");
```