2 ms·
Contracts were just recently voted into C++20 (https://herbsutter.com/2018/07/02/trip-report-summer-iso-c-standards-meeting-rapperswil/ https://herbsutter.com/2
by RcouF1uZ4gsC 8y ago
Contracts were just recently voted into C++20 (https://herbsutter.com/2018/07/02/trip-report-summer-iso-c-standards-meeting-rapperswil/ https://herbsutter.com/2018/07/02/trip-report-summer-iso-c-s...)
With the addition of contracts, C++ will natively support this style of programming without ASSERT macros.