logoalt Hacker News

Moldotecktoday at 12:14 PM1 replyview on HN

What you mean by smart ptrs not being memory safe? Vector access can be done with at method


Replies

pjmlptoday at 1:54 PM

Which unfortunately most people avoid using, and until C++26 there is no at() for span.

The best is really to enable compiler specific hardening.