3
New C++ features in GCC 13
(developers.redhat.com)
really curious about contracts. It seems from the example that they are a runtime thing so what is the advantage over just putting some checks in your code at the top and bottom of the function? Does it allow the compiler to help infer compile time conditions at all?
A general programming discussion community.