summaryrefslogtreecommitdiffhomepage
path: root/docs/cvec_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-01-02 10:05:46 +0100
committerTyge Løvset <[email protected]>2021-01-02 10:05:46 +0100
commita4a690205c421fc0cb56787df65588ffc9d6ebd2 (patch)
tree6cf36002693ded44e7eac39f36b0f161e33c4b30 /docs/cvec_api.md
parent59f56b54744db309981065ccb63bbe68aff4f4ff (diff)
downloadSTC-modified-a4a690205c421fc0cb56787df65588ffc9d6ebd2.tar.gz
STC-modified-a4a690205c421fc0cb56787df65588ffc9d6ebd2.zip
Internal: moved template argument in cdeq, cvec and clist.
Diffstat (limited to 'docs/cvec_api.md')
-rw-r--r--docs/cvec_api.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/cvec_api.md b/docs/cvec_api.md
index 435c2a3d..de437853 100644
--- a/docs/cvec_api.md
+++ b/docs/cvec_api.md
@@ -9,12 +9,12 @@ See [std::vector](https://en.cppreference.com/w/cpp/container/vector) for a simi
```c
#define using_cvec(X, Value, valueCompareRaw=c_default_compare,
valueDestroy=c_default_del,
- RawValue=Value,
valueFromRaw=c_default_from_raw,
- valueToRaw=c_default_to_raw)
+ valueToRaw=c_default_to_raw,
+ RawValue=Value)
#define using_cvec_str()
```
-The macro `using_cvec()` can be instantiated with 2, 3, 4, or 7 arguments in the global scope.
+The macro `using_cvec()` can be instantiated with 2, 3, 4, 5, or 7 arguments in the global scope.
Defaults values are given above for args not specified. `X` is a type tag name and
will affect the names of all cvec types and methods. E.g. declaring `using_cvec(my, int);`, `X` should
be replaced by `my` in all of the following documentation.