Stroustrup objects to adding Contracts to C++
Walter Bright
newshound2 at digitalmars.com
Wed Nov 11 23:49:38 UTC 2026
On 11/11/2026 5:31 AM, Paolo Invernizzi wrote:
> A lint is not enough for us, we need a compile error, and we need it to be
> transitive
>
> With @nogc I'm sure that the frame loop does not allocate, also in the functions
> it calls, also in the libraries. A local check can't tell me that.
dmd's attributes are all set up to be transitive. They're brutally effective,
unlike the easy but fairly useless ones C++ has.
More information about the Digitalmars-d
mailing list