Is there anything in here for something like a "slice" or dynamically sized array that carries its length along with it?
Just use compiler option -std=c++20 and use std::span. Don't try reinventing it in C.
Just use compiler option -std=c++20 and use std::span. Don't try reinventing it in C.