Universal Function Attribute Inference

Walter Bright newshound2 at digitalmars.com
Sat Mar 9 20:07:10 UTC 2024


The main difficulty with this is it requires the compiler to compile all the 
functions in the "header" files. This is a significant performance penalty. That 
is why the current scheme only infers for functions that the compiler must 
compile anyway, such as templates and auto functions.

I'm not necessarilly saying "no", just that everyone should be aware of this.


More information about the dip.ideas mailing list