summaryrefslogtreecommitdiffhomepage
path: root/docs/cmap_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-01-02 09:14:44 +0100
committerTyge Løvset <[email protected]>2021-01-02 09:14:44 +0100
commit59f56b54744db309981065ccb63bbe68aff4f4ff (patch)
treea1c43a390b0569d8605d4732123e905d0fd54700 /docs/cmap_api.md
parent642473aa88cfdf4b4f7db1f30adf71d63c0befe6 (diff)
downloadSTC-modified-59f56b54744db309981065ccb63bbe68aff4f4ff.tar.gz
STC-modified-59f56b54744db309981065ccb63bbe68aff4f4ff.zip
Almost internal: Swapped toRaw(), fromRaw() template arguments in containers.
Diffstat (limited to 'docs/cmap_api.md')
-rw-r--r--docs/cmap_api.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/cmap_api.md b/docs/cmap_api.md
index 74ad7e55..69c975af 100644
--- a/docs/cmap_api.md
+++ b/docs/cmap_api.md
@@ -13,8 +13,8 @@ See [std::unordered_map](https://en.cppreference.com/w/cpp/container/unordered_m
keyHashRaw=c_default_hash,
keyDestroy=c_default_del,
RawKey=Key,
- keyToRaw=c_default_to_raw,
keyFromRaw=c_default_from_raw,
+ keyToRaw=c_default_to_raw,
RawMapped=Mapped,
mappedFromRaw=c_default_from_raw)
@@ -24,8 +24,8 @@ See [std::unordered_map](https://en.cppreference.com/w/cpp/container/unordered_m
keyHash=c_default_hash,
keyDestroy=c_default_del,
RawKey=Key,
- keyToRaw=c_default_to_raw,
- keyFromRaw=c_default_from_raw)
+ keyFromRaw=c_default_from_raw,
+ keyToRaw=c_default_to_raw)
#define using_cmap_str()
```
The macro `using_cmap()` can be instantiated with 3, 4, 6, 10, or 12 arguments in the global scope.
@@ -39,7 +39,7 @@ be replaced by `my` in all of the following documentation.
`using_cmap()`. The macro `using_cmap_str()` is a shorthand for
```c
using_cmap(str, cstr_t, cstr_t, cstr_del, cstr_equals_raw, cstr_hash_raw,
- cstr_del, const char*, cstr_to_raw, cstr_from, const char*, cstr_from)
+ cstr_del, const char*, cstr_from, cstr_to_raw, const char*, cstr_from)
```
## Types