summaryrefslogtreecommitdiffhomepage
path: root/include/stc/algo/filter.h
AgeCommit message (Collapse)Author
2023-07-26Added cmap_emplace_key() / csmap_emplace_key()tylov
More docs.
2023-07-18Renamed i_native_cmp => i_cmp_nativetylov
Added c_all_of(), c_any_of(), c_none_of() to algo/filter.h
2023-07-15Improved warning, and other enhancements in ccommon.htylov
2023-06-11Added priv/linkage.h and renamed priv/template2.h => priv/template_undef.h.Tyge Løvset
Make all examples c++ compatible, except those using cspan.h Removed: crange_obj() Renamed: crange_make() => crange_init() Renamed: cspan_make() => cspan_init() Renamed: cstr_NULL => cstr_null Renamed: csview_NULL => csview_null
2023-05-20Rename c_make() macro to c_init(). c_make still available, but deprecated.Tyge Løvset
2023-05-18Fixing find_in() in cdeq, and add support c_eraseremove_if() for cqueue and ↵Tyge Løvset
cdeq.
2023-04-27removing compiler warning ++.Tyge Løvset
2023-04-03Renamed c_flt_n() => c_flt_getcount(), and c_flt_count() => c_flt_counter().Tyge Lovset
2023-04-02Renamed c_flt_last(i) => c_flt_n(i) in algo/filter.hTyge Løvset
2023-03-26Remove more c_with, c_autoTyge Løvset
2023-03-23Forgot an increment.Tyge Lovset
2023-03-23Internal in filter. c_xxx_if() macros now all have an _index var that can be ↵Tyge Lovset
used in the predicate.
2023-03-22Added c_foreach_r() macro for reverse iter of cvec, cdeq, cstack.Tyge Løvset
Moved c_find_if, c_erase_if, c_eraseremove_if to algo/filter.h Internals.
2023-03-12Safer state machine in coroutine.h (internal).Tyge Løvset
Removed c_forwhile() macro. Redundant, use c_forfilter(). Removed find and eq in cspan (use general c_find_if() instead for search).
2023-03-10Added short names by default to c11/fmt.h print, println and printd.Tyge Løvset
c_forwhile() now takes container not start iter: may be removed! Cleanup in filter.h
2023-03-09Added c_flt_transform() and some updates to coroutine.h. Added stc/calgo.h : ↵Tyge Løvset
includes filter.h, crange.h and coroutine.h from algo subfolder.
2023-03-07Improved/simplified c_forfilter (): last optional parameter gone. Now ↵Tyge Løvset
c_flt_take() and c_flt_takewhile() breaks the loop always. c11/fmt.h : renamed fmt_freebuffer(buf) => fmt_destroy(buf).
2023-02-13Changed name of c_flt_inc() to c_flt_count().Tyge Løvset
2023-02-13Docs update and improvementsTyge Løvset
2023-02-12Fairly large update before release 4.1, cleaning up docs and some minor ↵Tyge Løvset
additions.
2023-02-08Changed to use lowercase flow-control macros in examples (uppercase will ↵Tyge Løvset
still be supported). Improved many examples to use c_make() to init containers.
2023-01-23Changed c_OVERLOADMACRO() internally.Tyge Løvset
2023-01-19Finish last commit. Most safe function macros are now preferred lowercase, ↵Tyge Løvset
whereas flow control macros (c_FOREACH, ..) are preferred uppercase.
2023-01-04Bump to 2023Tyge Løvset
2022-12-31Internally renamed ccommon.h macros to uppercase. Lowercase macros are still ↵Tyge Løvset
supported via include/stc/priv/lowcase.h.
2022-12-30More restructuring of files and cleanup. Moved carr2.h and carr3.h to ↵Tyge Løvset
misc/include/old/ as it is not among classic containers. Removed stctest.h: Recommending https://github.com/bvdberg/ctest instead.
2022-12-29Restructuring of some headers into include/algo folder. Some API changes ↵Tyge Løvset
*_replace*() functions have been renamed, and a few minor API changes.