logoalt Hacker News

guipsp • yesterday at 9:43 PM • 3 replies • view on HN

Contracts are part of the memory safety story in c++


Replies

brigade • yesterday at 10:03 PM

And that’s exactly why they’re so controversial. As adopted by the committee they do not do anything to provide memory safety.

The pushback from the final rejection got the committee to add the bare minimum that could help C++’s safety story.

➕ show 1 reply
leni536 • yesterday at 10:12 PM

Contracts have nothing to do with memory safety.

➕ show 1 reply
edflsafoiewq • yesterday at 9:47 PM

How?

➕ show 1 reply