summaryrefslogtreecommitdiffhomepage
path: root/docs/csptr_api.md
AgeCommit message (Collapse)Author
2021-12-22Forgot csptr_api.md rename.Tyge Løvset
2021-12-22Renamed csptr to carc. i_key/val_ref renamed to i_key/val_sptr. Change ↵Tyge Løvset
inspired by Rust Arc/Rc. cbox name is taken from Rust Box type.
2021-12-22Renamed '_rawvalue\b' to '_raw'Tyge Løvset
2021-12-22Changed the c_apply() and c_apply_pair() to one new c_apply() API. Added ↵Tyge Løvset
c_pair(v) for convenience.
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-12Update csptr_api.mdTyge Løvset
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-10-29Swapped .._equals() and _equalto() functions for consistencyTyge 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-29Changed how to specify shared pointers in containers.Tyge Løvset
2021-09-24Another reorg. of csptr docs.Tyge Løvset
2021-09-24Reworked csptr docs. Made static members to inline (ccommon.h).Tyge Løvset
2021-09-23Added sptr_ex.c example + minors.Tyge Løvset
2021-09-22Renamed Value => i_val in documentation.Tyge Løvset
2021-09-22Reworked shared pointers, with some smaller API changes.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-20Renamed macros: breaking changes for Version 2.0!Tyge Lovset
c_forvar => c_autovar c_forscope => c_autoscope c_forauto => c_auto Removed: c_fordefer(x); use c_forscope(0, x) instead. Added: c_exitauto; // continue
2021-09-19Corrected example output.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-06-11Added missing csptr_X_init() and csptr_X_use_count().Tyge Løvset
2021-06-09Revert to csptr_X_reset_with() to keep API, also better name.Tyge Løvset
2021-06-09Update to csptr docs.Tyge Løvset
2021-06-09Updated API and docs.Tyge Løvset
2021-06-07Update csptr_api.mdTyge Løvset
2021-06-07Improved csptr: cstr_make() as fast as std::shared_ptr::make_shared (single ↵Tyge Løvset
malloc). Added assign(), copy().
2021-05-20Updated links to header files in docs.Tyge Løvset
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-03-30Removed the cptr raw pointer. Only keep csptr: shared_ptr. Renamed cptr.h to ↵Tyge Løvset
csptr.h.