From 63a2b98e433edacdd92eec87c2af5b569acd25bb Mon Sep 17 00:00:00 2001 From: Tyge Løvset <60263450+tylov@users.noreply.github.com> Date: Mon, 22 Jun 2020 19:43:22 +0200 Subject: Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) 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" -- cgit v1.2.3