diff options
| author | Tyge Løvset <[email protected]> | 2021-02-16 23:06:05 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-16 23:06:05 +0100 |
| commit | 50da849da89723416bc16093c7469cd49986e052 (patch) | |
| tree | 5c45768343265c9987e4ead1103ab2c93922faf0 | |
| parent | 8772299fdc6ee0686b5993996ea8bbe30ab53c1b (diff) | |
| download | STC-modified-50da849da89723416bc16093c7469cd49986e052.tar.gz STC-modified-50da849da89723416bc16093c7469cd49986e052.zip | |
Update README.md
| -rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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");
```
|
