| 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().
|
|
|
|
harmonized. Docs update/improved.
|
|
|
|
|
|
Added a simple c_erase_if(). Removed deprecated c_apply() macro.
|
|
code-breaking API changes.
|
|
|
|
minor changes.
|
|
|
|
i_key_bind/i_val_bind, a .._clone() function *must* always be defined.
Functions .._from and .._toraw is only required when i_keyraw/i_valraw type is defined.
|
|
clarity (error given if used): use i_valdrop/i_valfrom and i_keydrop/i_keyfrom instead.
Added missing at_mut() function to cdeq.
|
|
insert_or_assign() for maps. Reverted/added push_back()/emplace_back()/pop_back() to cstack.
|
|
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.
|
|
|
|
|
|
|
|
'_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.
|
|
|
|
const mapped*). Added container_X_getmut() for mutable version. Updated docs.
|
|
cdeq, cmap, csmap, cslist
|
|
cdeq_X_erase() - may be used wrong. Use cvec_X_erase_n() instead.
Fixed type-bug in cpque.h (same was in cqueue.h).
|
|
|
|
|
|
vector-lite.
|
|
c_apply()/c_apply_pair() macros, and removed c_var() macro.
Removed CX_emplace_items() member functions in containers used by c_emplace().
|
|
|
|
|
|
in examples.
|
|
Added i_key_csptr, i_val_csptr input macros for very easy usage of shared pointers in containers.
|
|
|
|
|
|
|
|
Improved cdeq.
|
|
cvec and cdeq insert_at() swapped with insert(). Docs update.
|
|
and more readable code.
Removed C_X_itval() as they are no longer needed. API is to use *it.ref
|
|
|
|
|
|
Code/docs formatting.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Not cvec_inits.
Improved docs.
|