summaryrefslogtreecommitdiffhomepage
path: root/docs/cmap_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-05-02 09:19:58 +0200
committerTyge Løvset <[email protected]>2022-05-02 09:19:58 +0200
commit53e8450d99679b27366d4f02953cd34341958eae (patch)
tree721f30ab618aecc8570d3c0213f267102e78b374 /docs/cmap_api.md
parented1af86a761ab0f68ee960905b5886cdc62f4e7f (diff)
downloadSTC-modified-53e8450d99679b27366d4f02953cd34341958eae.tar.gz
STC-modified-53e8450d99679b27366d4f02953cd34341958eae.zip
More doc fixes on i_keyclone, i_keyfrom and i_valclone, i_valfrom
Diffstat (limited to 'docs/cmap_api.md')
-rw-r--r--docs/cmap_api.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/cmap_api.md b/docs/cmap_api.md
index 51607be2..67210b6e 100644
--- a/docs/cmap_api.md
+++ b/docs/cmap_api.md
@@ -23,14 +23,16 @@ See the c++ class [std::unordered_map](https://en.cppreference.com/w/cpp/contain
#define i_eq // equality comparison two i_keyraw*: REQUIRED IF i_keyraw is a
// non-integral type. Three-way i_cmp may be specified alternatively.
#define i_keydrop // destroy key func - defaults to empty destruct
+#define i_keyclone // REQUIRED IF i_valdrop defined
#define i_keyraw // convertion "raw" type - defaults to i_key
-#define i_keyfrom // convertion func i_keyraw => i_key - defaults to plain copy
-#define i_keyto // convertion func i_key* => i_keyraw - defaults to plain copy
+#define i_keyfrom // convertion func i_keyraw => i_key
+#define i_keyto // convertion func i_key* => i_keyraw
#define i_valdrop // destroy value func - defaults to empty destruct
+#define i_valclone // REQUIRED IF i_valdrop defined
#define i_valraw // convertion "raw" type - defaults to i_val
-#define i_valfrom // convertion func i_valraw => i_val - defaults to plain copy
-#define i_valto // convertion func i_val* => i_valraw - defaults to plain copy
+#define i_valfrom // convertion func i_valraw => i_val
+#define i_valto // convertion func i_val* => i_valraw
#define i_tag // typename tag. defaults to i_key
#define i_type // full typename of the container