3 ms·
Contracts aren't for handling errors. That blog post is extremely out of date, and doesn't reflect the current state of contracts Modern C++ contracts are bein
by 20k 7mo ago
Contracts aren't for handling errors. That blog post is extremely out of date, and doesn't reflect the current state of contracts
Modern C++ contracts are being sold as being purely for debugging. You can't rely on contracts like an assert to catch problems, which is an intentional part of the design of contracts