| Age | Commit message (Collapse) | Author |
|
|
|
Added c_all_of(), c_any_of(), c_none_of() to algo/filter.h
|
|
|
|
i_val* for all non-maps.
Renamed c_ASSERT() to c_assert() and added optional message parameter to c_static_assert().
|
|
deprecated.
|
|
|
|
|
|
harmonized. Docs update/improved.
|
|
Removed uses of c_auto and c_with in documentation examples and code examples. Still using c_defer a few places.
Renamed c11/fmt.h to c11/print.h.
Some additions in ccommon.h, e.g. c_const_cast(T, x).
Improved docs.
|
|
|
|
2) shortened mergesort function.
|
|
Minor fix in template.h
|
|
still be supported). Improved many examples to use c_make() to init containers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
as iter type, i.e. "%lld" printf format.
crange_from() renamed to crange_make().
More docs.
|
|
|
|
is consistent with other c_for* macros.
|
|
|
|
README.md docs.
|
|
|
|
|
|
ex. and map shootout.
|
|
code-breaking API changes.
|
|
..) and c_foreach (i, ..): v changed to a pointer - not value.
Note: also c_pair(v) is changed correspondingly, so usage with c_apply(v) is unchanged.
|
|
|
|
improved. Added i_key_ssv and i_val_ssv (cstr with csview as raw-type).
|
|
clarity (error given if used): use i_valdrop/i_valfrom and i_keydrop/i_keyfrom instead.
Added missing at_mut() function to cdeq.
|
|
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.
|
|
|
|
|
|
|
|
c_pair(v) for convenience.
|
|
'_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.
|
|
|
|
|
|
cdeq, cmap, csmap, cslist
|
|
|
|
c_apply()/c_apply_pair() macros, and removed c_var() macro.
Removed CX_emplace_items() member functions in containers used by c_emplace().
|
|
|
|
|
|
|
|
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
|
|
in examples.
|