Mon, 17 Mar 2025 21:05:50 +0100
move the note about the key type to the top
docs/Writerside/topics/map.h.md | file | annotate | diff | comparison | revisions |
--- a/docs/Writerside/topics/map.h.md Mon Mar 17 20:44:17 2025 +0100 +++ b/docs/Writerside/topics/map.h.md Mon Mar 17 21:05:50 2025 +0100 @@ -29,6 +29,11 @@ > This allows you to write clean code without checking for `NULL`-pointer everywhere. > You still need to make sure that the placeholder is replaced with an actual map before inserting elements. +> In the Sections below, the type for the key is denoted `KeyType`. +> All functions are implemented as generics, so that the following types are supported: +> `CxHashKey`, `cxstring`, `cxmutstr`, `const char*`, and `char*`. +> {style="note"} + ## Examples ```C @@ -183,11 +188,6 @@ } ``` -> In the following Sections, the type for the key is denoted `KeyType`. -> All functions are implemented as generics, so that the following types are supported: -> `CxHashKey`, `cxstring`, `cxmutstr`, `const char*`, and `char*`. -> {style="note"} - ## Insert ```C