Blog140.2K views2,964 votes0 replies4,238 following
Stopping Buffer Overflows with C++20 std::span
Stop passing pointer-size pairs in C++. Learn how C++20's std::span provides a safer, non-owning view of contiguous memory to prevent buffer overflows.