summaryrefslogtreecommitdiffhomepage
path: root/docs/cstack_api.md
AgeCommit message (Collapse)Author
2023-07-27Added docs for "pull" functions.tylov
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-07-12Changed docs and examples to use i_key* template parameters instead of ↵tylov
i_val* for all non-maps. Renamed c_ASSERT() to c_assert() and added optional message parameter to c_static_assert().
2023-05-19Added container equality function to docs _eq(c1, c2).Tyge Lovset
2023-05-18Huge update: cqueue and cdeq completely rewritten. cvec and cdeq API ↵Tyge Lovset
harmonized. Docs update/improved.
2023-02-01Massive update from unsigned sizes and indices to signed.Tyge Lovset
2022-11-06Improved documentation of template parameters for all containers.Tyge Løvset
2022-09-02Removed cstack_X_push_back(), cstack_X_emplace_back(), cstack_X_pop_back().Tyge Løvset
Added a simple c_erase_if(). Removed deprecated c_apply() macro.
2022-07-06Version 3.7. Make sure to check NEWS/Changes in README.md for a few ↵Tyge Løvset
code-breaking API changes.
2022-06-21Renamed expand_uninit() functions to insert_uninit() / append_uninit().Tyge Løvset
2022-05-10Renamed (newish) functions expand_uninitialized to expand_uninit. + some ↵Tyge Lovset
minor changes.
2022-05-02More doc fixes on i_keyclone, i_keyfrom and i_valclone, i_valfromTyge Løvset
2022-04-27Finally FIXED cloning/to/from scheme to work properly. When using ↵Tyge Løvset
i_key_bind/i_val_bind, a .._clone() function *must* always be defined. Functions .._from and .._toraw is only required when i_keyraw/i_valraw type is defined.
2022-04-18Removed i_drop and i_from template specifiers to reduce redundancies and add ↵Tyge Lovset
clarity (error given if used): use i_valdrop/i_valfrom and i_keydrop/i_keyfrom instead. Added missing at_mut() function to cdeq.
2022-04-15Updated README.md docs on template args! Reverted to put() as alias for ↵Tyge Løvset
insert_or_assign() for maps. Reverted/added push_back()/emplace_back()/pop_back() to cstack.
2022-04-09- Switched from .._put() to .._push() as the "generic" method to add ↵Tyge Løvset
element to any container. - Changed clist_X_insert()/emplace() to clist_X_insert_at()/emplace_at() to make it consistent with cvec/cdeq. - Updated documentation.
2022-04-09Universally added a put() function to all containers.Tyge Løvset
2021-12-31Added alias functions push_back and pop_back to cstack + docs update.Tyge Løvset
2021-12-22Renamed '_rawvalue\b' to '_raw'Tyge Løvset
2021-12-19First commit for Version 3 of STC. Main changes are consistent rename of ↵Tyge Løvset
'_del' to '_drop' and '_compare' to '_cmp'. Also i_key_ref (earlier i_key_sptr) and i_val_ref replaced by more general i_key_bind/i_val_bind.
2021-11-21Changed reverse() and resize() to return false if mem alloc failed.Tyge Løvset
2021-11-03Changed container_X_get() and container_X_at() to return const value* (or ↵Tyge Løvset
const mapped*). Added container_X_getmut() for mutable version. Updated docs.
2021-10-29Renamed ..._value_t -> ..._value, etc. Deprecated, still works for cvec, ↵Tyge Løvset
cdeq, cmap, csmap, cslist
2021-10-26Added some examples and updated docs. Removed cvec_X_erase() and ↵Tyge Løvset
cdeq_X_erase() - may be used wrong. Use cvec_X_erase_n() instead. Fixed type-bug in cpque.h (same was in cqueue.h).
2021-10-06Some while to for changed. Return value for cstack_X_push/emplace. Docs updated.Tyge Løvset
2021-10-05Changed recommended order of defining template parameters.Tyge Løvset
2021-09-26Added some extensions to cstack and cpque. cstack can now be used as a ↵Tyge Løvset
vector-lite.
2021-09-23Cleanup: Replaced c_emplace() macro with more general ↵Tyge Løvset
c_apply()/c_apply_pair() macros, and removed c_var() macro. Removed CX_emplace_items() member functions in containers used by c_emplace().
2021-09-21Added copy(self, other) function to all containers. Fixed some docs.Tyge Løvset
2021-09-21Fixed input args documentation. Fixed carr2 and carr3 clone functions.Tyge Løvset
2021-09-19Replaced the two csptr doc examples with a better one. Same as sharedptr.c ↵Tyge Løvset
in examples.
2021-09-17Updated docs.Tyge Løvset
Added i_key_csptr, i_val_csptr input macros for very easy usage of shared pointers in containers.
2021-09-11Fixed docs for newstyle.Tyge Løvset
2021-09-09Updated examples in docs.Tyge Løvset
2021-05-20Updated links to header files in docs.Tyge Løvset
2021-05-05Changed some lesser used API in cvec and cdeq to be more consistent. ↵Tyge Løvset
Improved cdeq.
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-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-24Removed separate ## Header section in docs.Tyge Løvset
2021-03-24Cleanup in documentation.Tyge Løvset
2021-03-19Added clear() to cpque, cstack, cqueue, cbits, even though not in STL. ↵Tyge Løvset
Code/docs formatting.
2021-03-10constness i stack top.Tyge Løvset
2021-03-06Fixed some const-ness with begin/end methods.Tyge Løvset
2021-03-03Some general doc changes.Tyge Løvset
2021-02-22Added destructor comment and value_clone docs.Tyge Løvset
2021-02-22Minor map doc fix and cleanups.Tyge Løvset
2021-02-20Renamed push_items to emplace_nTyge Løvset
2021-02-20Rewamp of cmap/csmap API. More to come.Tyge Løvset
2021-01-24Improved cvec cdeq. Must be initied with cvec_X_init() and cdeq_X_init(). ↵Tyge Løvset
Not cvec_inits. Improved docs.