summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cspan.h
AgeCommit message (Collapse)Author
2023-01-31Updates, and prepare for the big unsigned ==> signed transformation.Tyge Løvset
2023-01-29Some method renaming in cspan: cspan_multidim() ctor => cspan_md(). ↵Tyge Løvset
cspan_atN() => cspan_submdN(). cstr_replace_ex() merged as overload of cstr_replace().
2023-01-28Generalized cspan_slice(), and improved usage/ergonomics.Tyge Lovset
2023-01-28Fix two minor blips.Tyge Lovset
2023-01-28Added flat iteration over a sliced cspan.Tyge Lovset
2023-01-27Added cspan_slice() function.Tyge Løvset
2023-01-27Added stride to cspan (md), prepared for cspan_slice() function.Tyge Løvset
2023-01-25Updates on cspan ++.Tyge Løvset
2023-01-25Reverted cspan_subdim*() to cspan_at*(). Added cspan_flatten() constructor.Tyge Løvset
2023-01-23Changed c_OVERLOADMACRO() internally.Tyge Løvset
2023-01-23Renamed c_init() to c_make().Tyge Løvset
2023-01-22Added cspan_init() for static initializing and a minor fix. Added cregex ↵Tyge Løvset
replace tests.
2023-01-20Renamed cspan_at2 .. at4 to cspan_subdim2 .. Improved cspan docs.Tyge Løvset
2023-01-19Finish last commit. Most safe function macros are now preferred lowercase, ↵Tyge Løvset
whereas flow control macros (c_FOREACH, ..) are preferred uppercase.
2023-01-19Add a from_n() method to containers (and put_n() to maps), to support new ↵Tyge Løvset
initialization.
2023-01-18fix bug in cspan_begin().Tyge Løvset
2023-01-18Reverted to use self pointers instead of values, as cspan is not a pure ↵Tyge Løvset
view, but can modify its elements.
2023-01-18using_cspanN(S, T, R) now defines S, S1, S2.. (not S1)Tyge Løvset
2023-01-16Final cspan API changes: cspan_XtoY() => cspan_atX(). Docs updated.Tyge Løvset
2023-01-16cspan API change: Switched to passing spans as value instead of pointer ↵Tyge Løvset
(except resize).
2023-01-16Final cspan code update.Tyge Løvset
2023-01-16Final cspan API change: cspan_reshape() => cspan_resize().Tyge Løvset
2023-01-15Two more cspan docs fixes.Tyge Løvset
2023-01-15Large commit:Tyge Løvset
- Moved stc/algo/cspan.h to stc/cspan.h - its a data view type similar to csview. +Many updates. Added docs/cspan_api.md page! - Update c11/fmt.h to VER 2.0: NEW API, see test. NOTE: fmt.h is not officially part of STC, as it is C11, and STC is C99. - Renamed crange_LITERAL() back to crange_literal(), and cspan_LITERAL() to cspan_literal(). These returns a compound literal (lvalue) that can be passed to a c_FOR*-iterator.