summaryrefslogtreecommitdiffhomepage
path: root/stc/cvec.h
AgeCommit message (Collapse)Author
2021-05-20Moved stc folder into include folder.Tyge Løvset
2021-05-15Renamed newly introduced internal c_cast() to c_make() for c++ ↵Tyge Løvset
compatability. Added usage.
2021-05-07Reverted c_trivial_*() to c_default_*().Tyge Løvset
2021-05-07Rename to use c_rawstr_*() instead of c_rstr_*().Tyge Løvset
2021-05-07Cleanup, internal renames. API: c_strhash() -> c_string_hash(), added adv() ↵Tyge Løvset
and ind() to cvec and cdeq.
2021-05-06Added erase() for cvec, cdeq and clist for consistency.Tyge Løvset
2021-05-05Changed some lesser used API in cvec and cdeq to be more consistent. ↵Tyge Løvset
Improved cdeq.
2021-05-05Rewrote cdeq to conform with cvec.Tyge Løvset
2021-05-04Added get() method to cvec, cdeq, clist, cmap, csmap. Restructured ↵Tyge Løvset
emplace/insert api on cvec, will be done on cdeq as well. General internal coding improvements.
2021-04-30Internal only: Removed cstr_t and cbits_t: only use cstr and cbits. Finished ↵Tyge Løvset
backporting of csmap_v1.h
2021-04-25Another small cleanup after the cdeq fix.Tyge Løvset
2021-04-24Minor cleanup after cdeq_X_expand_() bugfix.Tyge Løvset
2021-04-23API: Reverted to C_X_erase_at() instead of C_X_erase_it(). Sorry for the ↵Tyge Løvset
mess. Internal reorder of STC_API methods.
2021-04-16Fixed bug: cmap_erase_it() return iterator. Fixed mem-leak in ↵Tyge Løvset
cdeq_X_insert() and cvec_X_insert(). Added iterator invalidation documentation.
2021-04-15NB! Changed API: *_erase_at(container, it) --> *_erase_it(container, it). ↵Tyge Løvset
cvec and cdeq insert_at() swapped with insert(). Docs update.
2021-04-10Some final code move.Tyge Løvset
2021-04-10A few internal members renamed.Tyge Løvset
2021-04-10Formatting and internal renaming. Increased readability and consistency.Tyge Løvset
2021-04-08Reformat code only.Tyge Løvset
2021-04-08Big change set to simplify the internal templating implementations. Shorter ↵Tyge Løvset
and more readable code. Removed C_X_itval() as they are no longer needed. API is to use *it.ref
2021-03-30Added c_no clone default parameter to using_* if only del was specified.Tyge Løvset
2021-03-15Added csmap_X_lower_bound() method (find >= key). Updated docs a little.Tyge Løvset
2021-03-07Corrected more constness.Tyge Løvset
2021-03-06Cleanups and internal renames. Backported csmap_v1.h in examples to match ↵Tyge Løvset
csmap.h
2021-03-02Fixed: renamed reserved symbols/names.Tyge Løvset
2021-03-01Fixed wrong assumption that compare always returns -1, 0, 1.Tyge Løvset
2021-02-22Renamed c_plain_... to c_trivial_... internal functions.Tyge Løvset
2021-02-22Minor.Tyge Løvset
2021-02-22Many internal renames. Reverted to specify both _del and _clone parameter ↵Tyge Løvset
when giving _del.
2021-02-21Renamed emplace_put() to emplace_or_assign(). May add put() as alias to ↵Tyge Løvset
insert_or_assign().
2021-02-21Internal restructure. Added bsearch() to cvec.Tyge Løvset
2021-02-20Renamed push_items to emplace_nTyge Løvset
2021-02-20Internal renaming improvements.Tyge Løvset
2021-02-20Rewamp of cmap/csmap API. More to come.Tyge Løvset
2021-02-09added more benchmark code.Tyge Løvset
2021-02-05Rewrote to use c_container_of() instead of size_t offset.Tyge Løvset
2021-02-04Fixup in API regarding _at() - more consistent.Tyge Løvset
2021-01-30Internal changes: removed use of cmap_inits and set_inits. Use cmap_x_init() ↵Tyge Løvset
and cset_X_init(). Minor changes in cvec, csmap, cstr, crandom.
2021-01-24Improved cvec cdeq. Must be initied with cvec_X_init() and cdeq_X_init(). ↵Tyge Løvset
Not cvec_inits. Improved docs.
2021-01-17Removed cset.h - alias of cmap.h. Updated year copyright.Tyge Løvset
2021-01-04Simplified: Removed CONTAINER_input_t type, replaced with CONTAINER_rawvalue_tTyge Løvset
2021-01-04Added value_clone() method to containers.Tyge Løvset
2021-01-03Force template argument *clone* to be specified when *del* is specified for ↵Tyge Løvset
containers. Can be *c_no_clone* if clonable is not required.
2021-01-02Major upgrade: Added 'clone' template parameters to containers. Reorganized ↵Tyge Løvset
arg positions. Renamed csptr_X_share() to csptr_X_clone()
2021-01-02Added template parameter 'to_raw', in order to support clone functionality ↵Tyge Løvset
of map. Todo: change parameter order in shorthand using_-macros.
2021-01-02Internal: moved template argument in cdeq, cvec and clist.Tyge Løvset
2021-01-02Almost internal: Swapped toRaw(), fromRaw() template arguments in containers.Tyge Løvset
2020-12-30Fixed memory leak in cvec_X_resize and cdeq_X_resize. Removed macros ↵Tyge Løvset
cdeq_size, cdeq_capacity, cdeq_empty. Use the cvec_X_* names instead.
2020-12-30API change: Swapped destroy <-> compare function args in using_*() macros ↵Tyge Løvset
for cvec, cdeq, cptr and clist.
2020-12-27Removed MACRO functions in API, like cvec_size(c), cvec_empty(c). Use ↵Tyge Løvset
cvec_X_size(c) etc. Restructured benchmarks / examples.