Pure and constant external functions
Posted Jun 13, 2008 16:38 UTC (Fri) by giraffedata
Parent article: Implications of pure and constant functions
Has anyone thought of having the compiler generate header files?
In addition to saving one from having to code every function declaration twice, it would let the compiler detect attributes like pureness that I'm too lazy to declare manually.
Alternatively, the compiler might warn when the declaration doesn't have all the apparently applicable attributes.
to post comments)