How to avoid pointer arithmetic when using char** argv
From clang-tidy – cppcoreguidelines-pro-bounds-pointer-arithmetic: Pointers should only refer to single objects, and pointer arithmetic is fragile and easy to get wrong. span<T> is a bounds-checked, safe type for accessing arrays of data. So yes: Is there an alternative way to use the values of argv without using pointer arithmetic? Isn’t accessing a char** by any … Read more