Comment

Comment by debugnik

It does, on explicitly bounds-checked accessors like .at, which span is gaining for C++26.

But you originally implied using span was sufficient, you didn't mention LLVM's libc++ hardening. (You even mentioned iterators which, I just quoted, might not be bounds-checked on fast mode either.)

parent debugnik 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton