summaryrefslogtreecommitdiffhomepage
path: root/docs/cspan_api.md
AgeCommit message (Collapse)Author
2023-03-26development branch for 4.2Tyge Løvset
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.
2023-02-13Improved docs.Tyge Løvset
2023-02-12More docs: prepare for release.Tyge Løvset
2023-02-11More docs improvements.Tyge Løvset
2023-02-08Changed to use lowercase flow-control macros in examples (uppercase will ↵Tyge Løvset
still be supported). Improved many examples to use c_make() to init containers.
2023-02-04Fix in ccommon.h to make MSVC work again (without -std:c11) + small adjustments.Tyge Løvset
2023-02-04More cspan docs updates.Tyge Løvset
2023-02-04Minor docs update.Tyge Løvset
2023-02-03Renamed dim to shape in cspan. Not 100% sure it will survive.Tyge Løvset
2023-02-03More cspan docs fixes.Tyge Løvset
2023-02-03Feature completed cspan.Tyge Løvset
2023-02-01Update docs formatting and README.mdTyge Løvset
2023-02-01Massive update from unsigned sizes and indices to signed.Tyge Lovset
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-28Added flat iteration over a sliced cspan.Tyge Lovset
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-20Renamed cspan_at2 .. at4 to cspan_subdim2 .. Improved cspan docs.Tyge Løvset
2023-01-19Add a from_n() method to containers (and put_n() to maps), to support new ↵Tyge Løvset
initialization.
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-16cspan docs fixes constness and formatting.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-15some cspan docs fixes.Tyge Løvset
2023-01-15some 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.