-preview=safer for D

Walter Bright newshound2 at digitalmars.com
Sat Dec 14 22:12:43 UTC 2024


On 12/14/2024 1:52 PM, Timon Gehr wrote:
> The more important one is that it does not apply at 
> all to large categories of code such as templates.

Right. It does not apply to functions that get their attributes inferred. That 
includes template functions, functions that return `auto`, etc.

I haven't figured out a way to apply safer to them while still inferring attributes.


More information about the Digitalmars-d mailing list