summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-06-22 19:43:22 +0200
committerGitHub <[email protected]>2020-06-22 19:43:22 +0200
commit63a2b98e433edacdd92eec87c2af5b569acd25bb (patch)
treecbb96c6e2a9b67cdbd0b950b4da5b9585095071a
parent6de11637fb0ff1de3f4fe625d31954e7b5bdb5eb (diff)
downloadSTC-modified-63a2b98e433edacdd92eec87c2af5b569acd25bb.tar.gz
STC-modified-63a2b98e433edacdd92eec87c2af5b569acd25bb.zip
Update README.md
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index d6a0695b..360ce3e1 100644
--- a/README.md
+++ b/README.md
@@ -121,6 +121,8 @@ Demos
-----
The first example has a complex nested container type, which demonstrates some of the capability of the library. Look at the simpler examples below to understand it better. The example adds an element into the data structure, and then accesses it. The type used, with c++ template syntax is:
**CHashMap**< **CString**, **CHashMap**< *int*, **CList**< **CArray2**< *float* >>>>
+
+Note that *chash_sm_destroy(&theMap)* call below will also destroy all the nested containers, including memory allocated for CString keys in theMap object.
```
#include "stc/cstring.h"
#include "stc/chash.h"