summaryrefslogtreecommitdiffhomepage
path: root/docs/carray_api.md
AgeCommit message (Collapse)Author
2023-01-15Large commit:Tyge Løvset
- Moved stc/algo/cspan.h to stc/cspan.h - its a data view type similar to csview. +Many updates. Added docs/cspan_api.md page! - Update c11/fmt.h to VER 2.0: NEW API, see test. NOTE: fmt.h is not officially part of STC, as it is C11, and STC is C99. - Renamed crange_LITERAL() back to crange_literal(), and cspan_LITERAL() to cspan_literal(). These returns a compound literal (lvalue) that can be passed to a c_FOR*-iterator.
2023-01-04Removed the experimental c_AUTODROP macro.Tyge Lovset
2022-12-23Experimental uppercase macros.Tyge Løvset
2022-11-06Added c_autodrop() macro, and removed c_autobuf() which wasn't that useful ↵Tyge Løvset
(and was undocumented).
2022-11-06Improved documentation of template parameters for all containers.Tyge Løvset
2022-08-13Experimental: Renamed c_autovar => c_with, c_autoscope => c_scope, ↵Tyge Løvset
c_autodefer => c_defer. May or may not be reverted before V4.0 release.
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-05-16Changed contructor names in carr2/carr3 to be more consistent with other ↵Tyge Løvset
containers.
2022-05-02More doc fixes on i_keyclone, i_keyfrom and i_valclone, i_valfromTyge Løvset
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.
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-12-12- Added **cbox** type: container of one element: similar to std::unique_ptr ↵Tyge Løvset
/ Rust Box. - Replaced example for **csptr** in docs. - Added [**c_forpair**](docs/ccommon_api.md) macro: for-loop with "structural binding" as in c++. - Deprecated *csptr_X_make()*. Renamed to *csptr_X_new()*. Corresponding **cbox** method is *cbox_X_new()*. - Deprecated *c_default_fromraw(raw)*. Renamed to *c_default_clone(raw)*. - Deprecated `i_key_csptr` / `i_val_csptr`. Use `i_key_ref` / `i_val_ref` when specifying containers with **csptr** or **cbox** elements. - Deprecated `i_cnt`. Use `i_type` instead to define the full container type name. - Bugfixes and docs updates.
2021-11-20Added carr_X_idx().Tyge Løvset
2021-11-03Removed carrN_elem(). Added assert in carrN_at().Tyge Løvset
2021-11-03Changed carrN_X_at() to return const value*. Added mutable carrN_X_elem().Tyge Løvset
2021-10-29Renamed ..._value_t -> ..._value, etc. Deprecated, still works for cvec, ↵Tyge Løvset
cdeq, cmap, csmap, cslist
2021-10-05Changed recommended order of defining template parameters.Tyge Løvset
2021-09-23Some more documentation in README.md.Tyge Løvset
Added support for i_del template arg/define for destroy function. For maps, i_keydel / i_valdel is still required and error is given if i_del is defined.
2021-09-22Renamed Value => i_val in documentation.Tyge Løvset
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-19Preparation for merging in V2.0 to master branch.Tyge Løvset
2021-09-17Added example sharedptr.c and fixed some doc.Tyge Løvset
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-05-20Updated links to header files in docs.Tyge Løvset
2021-05-19More cleanups and refinements.Tyge Løvset
2021-05-18Internal updates in cstr. Minor API change in carray carrayNX_with_value() ↵Tyge Løvset
=> carrayNX_with_values(). Docs/examples improvements.
2021-04-29Added new constructors to carray.h. Made cmap and csmap keys immutable. ↵Tyge Løvset
Added get() method to cmap and csmap.
2021-04-27Renamed carray struct member at to data. Improved cdeq_expand_() method.Tyge Løvset
2021-04-26Doc update. Renamed c_new_2() to c_new_n()Tyge Løvset
2021-03-24Removed separate ## Header section in docs.Tyge Løvset
2021-03-24Cleanup in documentation.Tyge Løvset
2021-03-24Added alternative at() methods to carrays.Tyge Løvset
2021-03-22Final changes on carrays. Perfect now.Tyge Løvset
2021-03-22Document that carray2/3 is fully dynamic.Tyge Løvset
2021-03-22Rewrote carray.h completely. Somewhat different API, much easier/natural ↵Tyge Løvset
usage. Uses still a contiguous block of memory.
2021-03-19Added clear() to cpque, cstack, cqueue, cbits, even though not in STL. ↵Tyge Løvset
Code/docs formatting.
2021-03-07Corrected more constness.Tyge Løvset
2021-03-03Some general doc changes.Tyge Løvset
2021-02-22Minor map doc fix and cleanups.Tyge Løvset
2021-02-22Many internal renames. Reverted to specify both _del and _clone parameter ↵Tyge Løvset
when giving _del.
2021-02-21Updates outdated docs.Tyge Løvset
2021-02-20Rewamp of cmap/csmap API. More to come.Tyge Løvset
2021-01-21Update carray_api.mdTyge Løvset
2021-01-21Update carray_api.mdTyge Løvset
2021-01-21Update carray_api.mdTyge Løvset
2021-01-21Updated docs.Tyge Løvset
2021-01-20Moved types below API in docs.Tyge Løvset
2021-01-03Fixed errors in documentations.Tyge Løvset