Remix.run Logo
Moldoteck 2 hours ago

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

pjmlp 44 minutes ago | parent [-]

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.