summaryrefslogtreecommitdiffhomepage
path: root/stc/cvec.h
AgeCommit message (Collapse)Author
2020-12-19Some cleanup.Tyge Løvset
2020-12-18Got the fixes wrong. Ok now.Tyge Løvset
2020-12-18Fixed issues in cdeq and cvec. Added shrink_to_fit() too.Tyge Løvset
2020-12-18Added cdeq.h: Deque: Double Ended Queue. Fixed bug in cvec_X_push_n().Tyge Løvset
2020-12-17API change: Reverted back to original name used for .val in iterators to .refTyge Løvset
2020-12-08Added clone() to stack, cpqueue and queue.Tyge Løvset
Renamed erase_at() to erase_n() in cvec and cstr to improve consistency.
2020-12-08Simplified cvec_clone().Tyge Løvset
2020-12-08- Added clone() to cvec and clistTyge Løvset
- Renamed cstr_erase(s, pos, n) to cstr_erase_at(s, pos, n) - Changed cvec_erase_at(v, pos) to cvec_erase_at(v, pos, n).
2020-12-03Simplified type sections.Tyge Løvset
2020-12-03Simplified/improved API naming for cvec.hTyge Løvset
2020-12-01More docs update. Renamed cvec_insert|erase_p() to cvec_insert|erase_ptr().Tyge Løvset
2020-11-03Small API change c_withbuffer() and doc fix.Tyge Løvset
2020-11-03renamed __init to _initsTyge Løvset
2020-11-02Changed (half)-internal *_INIT to *__init macros. Minor reformatting.Tyge Løvset
2020-10-20Added cfmt.h and some smaller fixes.Tyge Løvset
2020-10-17Internal renaming of STC_IMP to STC_DEF. Removed cstr_INIT. Use cstr_init().Tyge Løvset
2020-10-16Fixed compiling as lib (-DSTC_HEADER) and added c_withbuffer() and ↵Tyge Løvset
c_break_with macros.
2020-10-14Renamed cstr() constructor to cstr_from(), cstr_from() to cstr_from_fmt().Tyge Løvset
2020-10-08Renamed cdefs.h to ccommon.hTyge Løvset
2020-09-25Added cptr.h and good examples for cptr and csptr (share_ptr.c). Some ↵Tyge Løvset
internal refactor.
2020-09-24Changed iter.get to iter.val member. Internal, but used external. Will not ↵Tyge Løvset
change again.
2020-09-23Some internal restructuring. Added shared_ptr like struct type: csptr.hTyge Løvset
2020-09-20Possible to redefine STC memory allocator globally.Tyge Løvset
2020-09-20Cleanup and renamed c_del_() to c_del() again.Tyge Løvset
2020-09-18Changed <container>_ini macro constant to <container>_INIT, and ↵Tyge Løvset
<container>_destroy() to <container>_del.
2020-09-17Fixed range methods in cvec, and renamed typename_<container>(..) to ↵Tyge Løvset
using_<container>(..).
2020-09-16Changed earlier declare_<container>(..) macro to typedef_<container>(..)Tyge Løvset
2020-09-16Changed API to conform with std:: containers. cmap now only use first, ↵Tyge Løvset
second. for result and value types.
2020-09-15Simplified declare_ statement e.g. c_cmap(...)Tyge Løvset
2020-09-15New API Change.Tyge Løvset
2020-09-14Renamed insert, emplace and erase to have suffix _at(), consistent with ↵Tyge Løvset
naming in other containers.
2020-09-14Removed warnings. clang, vs.Tyge Løvset
2020-09-13A few method aliases added.Tyge Løvset
2020-09-11Added at() to cmap. Added c_assert(), c_static_assert() in cdefs.hTyge Løvset
2020-09-11Forgot two returns.Tyge Løvset
2020-09-11Added back clist_last() and some internal renames.Tyge Løvset
2020-09-11Rearranged stuff in cvec.h. + extended sort() with range and added idx(iter) ↵Tyge Løvset
function.
2020-09-11Some renaming of functions, API changes in list and vec.Tyge Løvset
2020-09-10Renaming in cvec and some additions in clist.Tyge Løvset
2020-09-10Reformatting only.Tyge Løvset
2020-09-10Updated and corrected cvec_insert and cvec_erase functions.Tyge Løvset
2020-09-09More compliance with std:: containers.Tyge Løvset
2020-09-08changed c_foreach() macro -> Removed cnt_range() methods, and simplified iters.tylo
2020-09-07Bug fix: memory leak in cvec_clear(). Small optimizations.tylo
2020-09-06Renamed push_****(), _insert() to _emplace(). added insert_or_assign(), etc.Tyge Løvset
2020-09-05Added range iterators.Tyge Løvset
2020-09-04Using X instead of tag as macro parameter name for readability.Tyge Løvset
2020-09-03Changed constant <container>_init to <container>_ini to avoid conflict with ↵Tyge Løvset
<container>_init() method. Reverted name cprique back to cpqueue.
2020-09-03Changed itval() taking iter instead of iter address as arg.Tyge Løvset
2020-09-03Added itval() to all containers to allow for generalized access to iterator ↵Tyge Løvset
values.