| Age | Commit message (Collapse) | Author |
|
still be supported). Improved many examples to use c_make() to init containers.
|
|
|
|
supported via include/stc/priv/lowcase.h.
|
|
code-breaking API changes.
|
|
|
|
required for i_key_bind, _eq is derived from _cmp.
|
|
Only maps will actually use i_val.
Users can still specify i_val for non-maps, so there are no usability changes, other than the option to use i_key always, which makes the implementation and switching between container types simpler.
|
|
deprecated.
|
|
insert_or_assign() for maps. Reverted/added push_back()/emplace_back()/pop_back() to cstack.
|
|
Removed pop() functions in clist and cdeq as they are no standard. push() will push_back() for both.
|
|
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.
|
|
|
|
- Removed: i_cmp_none and i_fwd (replaced by c_no_compare and c_is_fwd args to i_opt).
- Added compile-time disabling of clonable and comparable container elements, controlled by i_opt (c_no_clone | c_no_compare)
- Added i_opt: can define multiple compile-time options: c_no_compare, c_no_clone, c_no_atomic, c_is_fwd: may be combined with | separator.
- Except for csptr, when i_del / i_valdel / i_keydel is defined, also i_from / i_keyfrom / i_valfrom must be defined or i_opt c_no_clone.
- For struct elements, either i_cmp must be defined (as before), or define i_opt c_no_compare for non-associative containers.
|
|
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
|
|
Now supports that user defines i_prefix.
|
|
|
|
|
|
updated to have its own size counter.
|
|
|
|
deceiving and hid the fact that it was for-loops. Now it is more explicit.
|
|
|