summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2022-04-20Some cleanup after carc / cbox updates.Tyge Løvset
2022-04-20Fix cbox.h docs example.Tyge Lovset
2022-04-20Support for cloning containers with carc and cbox.Tyge Lovset
Disabled emplace methods for containers with carc and cbox.
2022-04-19Renamed cbox_new/carc_new to cbox_make/carc_make. Disabled container emplace ↵Tyge Lovset
on arcbox elements.
2022-04-19Added #error/warnings for likely missing definitions of i_hash/i_cmp.Tyge Løvset
2022-04-18crandom.h: Renamed *_init(..) functions to *_new(..). Old names are kept but ↵Tyge Løvset
deprecated.
2022-04-18Renamed stc64_random() => crandom(), stc64_srandom(seed) => csrandom(seed). ↵Tyge Løvset
Kept old names for backward comp.
2022-04-18Renamed newly added map function put_r() to put_raw() - alias for ↵Tyge Lovset
emplace_or_assign() for symetri with insert_or_assign()/put(). Experimental, may be removed.
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-18Converted all example to use cstr_str(&s) instead of s.str to allow SSO ↵Tyge Løvset
string. Fixed misc warnings.
2022-04-17alt/cstr.h (sso string): added cstr_replace_all(). Header examples updated ↵Tyge Løvset
to use cstr_str(&s) instead of s.str. Some docs updates.
2022-04-16Added at_mut() to some containers. Added put_r() to cmap, csmap as alias for ↵Tyge Løvset
emplace_or_assign().
2022-04-15Internal.Tyge Løvset
2022-04-15Adding comment to #endif's.Tyge Løvset
2022-04-15Merge branch 'master' of github.com:tylov/STCTyge Løvset
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-11Fixed an potential issue with c_eq in template.h and missing usage in clist.hTyge Lovset
2022-04-11Added important parenthesizes around macro expressions.Tyge Løvset
2022-04-10Fixed regression bug: cqueue_pop() did pop_back(), fixed to do pop_front().Tyge Løvset
Removed pop() functions in clist and cdeq as they are no standard. push() will push_back() for both.
2022-04-10Parenthesized args in calls to i_keyfrom(c), i_keyto(p) i_valfrom(c), ↵Tyge Løvset
i_valto(p), and i_keydrop(p) - can be defined as macro without parenthesized args.
2022-04-10Parenthesized args in calls to i_cmp(x, y), i_eq(x, y) and i_hash(x, len) - ↵Tyge Løvset
can be defined as macro without parenthesized args.
2022-04-10Parenthesized calls to i_drop(x) - can be defined as macro without ↵Tyge Løvset
parenthesis around arg.
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-09Optimizing push_back() cvec/cdeq and some minor stuff.Tyge Lovset
2022-04-09Universally added a put() function to all containers.Tyge Løvset
2022-04-08Fix of previous commit (bug in bsearch).Tyge Løvset
2022-04-08Added cvec_X_lower_bound() function for sorted array search.Tyge Løvset
2022-04-08Update in template.h from previous commit.Tyge Løvset
2022-04-08Support to use i_val* input macro for sets (cset and csset).Tyge Løvset
2022-04-07More refactoring of cbits.h + minor changes in examples/benchmark.Tyge Løvset
2022-04-07Partly reverted (auto defined _i_no_emplace): emplace functions only ↵Tyge Løvset
available when either i_valraw or i_keyraw was defined. Avoids potensial bugs.
2022-04-06Refactoring cbits.h and sso alt/cstr.hTyge Løvset
2022-04-02Internal refactoring/macro rename.Tyge Lovset
2022-04-01Simplified internal logic on enabling default cloningTyge Løvset
2022-03-31Some unneeded strictness removed in template.hTyge Løvset
2022-03-31More fixes on cstr <-> cstr_sso compability.Tyge Løvset
2022-03-31Removed undesirable warnings.Tyge Løvset
2022-03-30More enhancements on cstr / cstr_sso.Tyge Løvset
2022-03-30More unification of cstr and cstr_sso.Tyge Lovset
2022-03-30update on alt/cstr.h (small string optimized).Tyge Lovset
2022-03-29Refactoring in sso string.Tyge Løvset
2022-03-29Added some sso benchmarks and a minor tweak.Tyge Løvset
2022-03-26Yet another missing line.Tyge Løvset
2022-03-26Final fix of csview docs.Tyge Løvset
2022-03-26Updated csview API docs.Tyge Løvset
2022-03-26Fixed alt/cstr.h (short string optimized), so that it can be used in ↵Tyge Løvset
containers. Had to change some API in csview to make it play with that.
2022-03-25Modified (more) rarely used macros c_apply_cnt(v, ..) and c_apply_arr(v, ..) ↵Tyge Løvset
so that v is a reference that may modify the container items.
2022-03-24Added constness to c_apply* macros.Tyge Løvset
2022-03-24Misc. small internal API renaming/refactoring and additions.Tyge Løvset
2022-03-16Bugfix: carc and cbox cmp functions had bug.Tyge Løvset
Renamed: i_key_sptr / i_val_sptr to i_key_arcbox / i_val_arcbox. Other smaller updates.