Contracts are part of the memory safety story in c++
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.
Contracts have nothing to do with memory safety.
How?
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.