summaryrefslogtreecommitdiffhomepage
path: root/stc/cvec.h
AgeCommit message (Collapse)Author
2020-09-02Rewrote cpqueue to a real adapter class. Added some missing functions in ↵Tyge Løvset
cvec, clist, cmap. Added c_init() and c_destroy() generic algoritms on containers.
2020-08-28Some smaller fixes and cleanup.Tyge Løvset
2020-08-27Renamed API functions.Tyge Løvset
2020-08-26Added valueFromRaw template parameter to cvec and clist. Affects generic ↵tylo
c_push(). Removed warnings cmap and cstr.
2020-08-08Reduce cvec expand policy.Tyge Løvset
2020-08-08Added cstr_iter_t + begin/next, and cstr_front.Tyge Løvset
2020-08-08Enhanced cvec sorting.Tyge Løvset
2020-08-08Changed iter API again, optimized.Tyge Løvset
2020-08-08Changed iter API (next now takes address, no return)Tyge Løvset
2020-08-04Revert c_nullptr to NULL in lib code. Minor cleanup.Tyge Løvset
2020-08-03Improved API.Tyge Løvset
2020-08-02Add c_nullptr to cdefs.hTyge Løvset
2020-08-01Fixed namings in cstr.h and restruct. in cmap: added cmap_try_emplace() macro.Tyge Løvset
2020-07-31Improved advanced.c and namings in cdefs.hTyge Løvset
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-26Replaced lowBiasHash with fibonacciHash32 / fibonacciHash64. Added ↵Tyge Løvset
<container>_<tag>_init(void) function.
2020-07-24Fixed cbitset_resize(). Added front()/back() macros to CVec.Tyge Løvset
2020-07-24Added <container>_<tag>_init variables; Fixed prime.c and list.c examples.Tyge Løvset
2020-07-24Updated CBitset (renamed from CBitVec too). Added ↵Tyge Løvset
<container>_<tag>_init(void) functions.
2020-07-23Added generic c_push(.., items) to push a list of items onto the containers.Tyge 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-211. Added initializers for containers *_from(). 2. Changed reserve(): size ↵Tyge Løvset
now means how many there actually can be filled with.
2020-07-21Reordered declare_CMap/CSet argument list.Tyge Løvset
Fixed examples.
2020-07-17Minors.Tyge Løvset
2020-07-17Updated READMEmd. Removed arg from declare_CVec_str() and ↵Tyge Løvset
declare_CList_str(): Always use 'str' as tag arg.
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