summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cvec.h
AgeCommit message (Expand)Author
2022-06-01Converted all files with DOS line endings to LINUX.Tyge Løvset
2022-05-29Internal: Changed using i_keyraw to using _cx_raw or _cx_rawkey typedefs: avo...Tyge Lovset
2022-05-13constness and code formatting.Tyge Lovset
2022-05-12Fixed issues with i_keyfrom/i_valfromTyge Løvset
2022-05-10Renamed (newish) functions expand_uninitialized to expand_uninit. + some mino...Tyge Lovset
2022-05-05Added type-checked c_container_of() macro using typeof (C23, gcc, clang, tcc)...Tyge Løvset
2022-05-01- Array expansions (insert, reserve, clone) are now checked for malloc nomem,...Tyge Lovset
2022-04-28_i_implement moved to user-level template parameter as i_implement. Removed i...Tyge Løvset
2022-04-26Added cvec_X_expand_uninitialized(). Renamed cvec_X_bsearch() to cvec_X_binar...Tyge Lovset
2022-04-21Switched to use i_key as primary template type parameter for all containers. ...Tyge Løvset
2022-04-20Support for cloning containers with carc and cbox.Tyge Lovset
2022-04-16Added at_mut() to some containers. Added put_r() to cmap, csmap as alias for ...Tyge Løvset
2022-04-15Internal.Tyge Løvset
2022-04-15Adding comment to #endif's.Tyge Løvset
2022-04-15Updated README.md docs on template args! Reverted to put() as alias for inser...Tyge Løvset
2022-04-11Added important parenthesizes around macro expressions.Tyge Løvset
2022-04-10Parenthesized args in calls to i_keyfrom(c), i_keyto(p) i_valfrom(c), i_valto...Tyge Løvset
2022-04-10Parenthesized args in calls to i_cmp(x, y), i_eq(x, y) and i_hash(x, len) - c...Tyge Løvset
2022-04-10Parenthesized calls to i_drop(x) - can be defined as macro without parenthesi...Tyge Løvset
2022-04-09- Switched from .._put() to .._push() as the "generic" method to add element...Tyge Løvset
2022-04-09Optimizing push_back() cvec/cdeq and some minor stuff.Tyge Lovset
2022-04-09Universally added a put() function to all containers.Tyge Løvset
2022-04-08Fix of previous commit (bug in bsearch).Tyge Løvset
2022-04-08Added cvec_X_lower_bound() function for sorted array search.Tyge Løvset
2022-04-07Partly reverted (auto defined _i_no_emplace): emplace functions only availabl...Tyge Løvset
2022-04-02Internal refactoring/macro rename.Tyge Lovset
2022-04-01Simplified internal logic on enabling default cloningTyge Løvset
2022-03-16Bugfix: carc and cbox cmp functions had bug.Tyge Løvset
2022-01-17Fixed object linkage declarations/definitions.Tyge Løvset
2022-01-16Made private functions (not called by header inlines) always static. Added re...Tyge Løvset
2022-01-04Removed two more false positive gcc -O2 warnings. Improved c_forpair macro. U...Tyge Løvset
2022-01-03Bump to 2022.Tyge Løvset
2022-01-03"gcc/clang -O2 -Wall -std=c99 -pedantic" compiles examples with no warnings. ...Tyge Løvset
2022-01-03Regression in csmap, and possible cvec in last commit. Reverting.Tyge Løvset
2022-01-03Removed many warnings (mainly linux), and some minors.Tyge Løvset
2022-01-02Simplified and improved linkage configuration. Reorganized crandom.h a bit.Tyge Løvset
2022-01-01Corrected linking macro settings.Tyge Løvset
2021-12-23Removed emplace functions if not i_valraw or i_keyraw is defined. Safety/opti...Tyge Løvset
2021-12-22Renamed '_rawvalue\b' to '_raw'Tyge Løvset
2021-12-20Some small addition to constness in API. Updated docs.Tyge Løvset
2021-12-19First commit for Version 3 of STC. Main changes are consistent rename of '_de...Tyge Løvset
2021-12-15Some improvements in cvec and cpque.Tyge Løvset
2021-12-02Breaking changes for i_fwd and i_cmp_none:Tyge Løvset
2021-11-25Updated int params constness. Updated random.c example.Tyge Løvset
2021-11-24Deprecated c_no_compare(). Define i_cmp_none instead when you have/want no el...Tyge Løvset
2021-11-21Made none mutable integers into const variables. Improved cmap_X_reserve() impl.Tyge Løvset
2021-11-21Changed reverse() and resize() to return false if mem alloc failed.Tyge Løvset
2021-11-05Changed array expansion policy from 1.625x to 1.5xTyge Løvset
2021-11-03Renamed cnt_X_getmut() to cnt_X_get_mut().Tyge Lovset
2021-11-03Update container_X_getmut() for mutable version.Tyge Løvset