Hacker News new | ask | show | jobs
by locknitpicker 9 days ago
> Contracts are part of the memory safety story in c++

Contracts are an optional debugging tool. They are literally designed to assert pre and post conditions. They are no better than the assert macro in asserting memory safety.