summaryrefslogtreecommitdiffhomepage
path: root/examples/advanced.c
AgeCommit message (Collapse)Author
2020-09-09More compliance with std:: containers.Tyge Løvset
2020-09-06Renamed push_****(), _insert() to _emplace(). added insert_or_assign(), etc.Tyge Løvset
2020-09-03Changed constant <container>_init to <container>_ini to avoid conflict with ↵Tyge Løvset
<container>_init() method. Reverted name cprique back to cpqueue.
2020-08-11Fixed two bugs: 1) hash16 not to be used for string. 2) cstr_from(): va_copy ↵tylo
missed
2020-07-31Improved advanced.c and namings in cdefs.hTyge Løvset
2020-07-30Got rid of cmapentry_ii. use cmap_ii_entry_t and cmap_ii_entry_destroy().Tyge Løvset
2020-07-30Various cleanup of examples and READM.md. Added support for popcount on ↵Tyge Løvset
compilers without intrinsics.
2020-07-29Renamed crandom.h to crand.h + Changed API. Renamed coptget.h to copt.h.Tyge Løvset
2020-07-28Lowercase namingTyge Løvset
2020-07-27API CHANGES: Made types all lower case. E.g.: CMap_<tag> => cmap_<tag>, ↵Tyge Løvset
CList_<tag> => clist_<tag>. Note: CStr => cstr_t, CBitset => cbitset_t
2020-07-23Changed cvecpq.h priority queue API and crandom.h APITyge Løvset
2020-07-22Renamed CArray to CArr. Renamed cmap_xx_get() to cmap_xx_find(). Changed ↵Tyge Løvset
_front() and _back() signatures.
2020-07-21Reordered declare_CMap/CSet argument list.Tyge Løvset
Fixed examples.
2020-07-17Renamed chash.h to cmap.h and added cset.hTyge Løvset
2020-07-16Updated includes to reflect rename of cvec.h and cstr.hTyge Løvset
2020-07-16API CHANGES: CHash now splitted to CMap / CSet, still in chash.h header. ↵Tyge Løvset
Renamed cstring.h -> cstr.h, cvector.h -> cvec.h
2020-07-16CHanged API: Renamed CString to CStr and CVector to CVec. All function names ↵Tyge Løvset
are changed likewise.
2020-07-15Updated advanced.cTyge Løvset
2020-06-22Restructure declare_CHash arguments (again)Tylo
Removed forced inlining. (-> regular inline)
2020-06-22Updated CArray to support destructors, and added underscore before used ↵Tylo
defined tag - for consistency with the other containers. Changed map/set type-tag for CHash to upper case MAP/SET. Makes it clearer it is a tag and not a type or variable. Added complex example to README.md demonstrating capability of nested containers, using custom destructors.
2020-06-21Moved examples to examples folder.Tylo