"all functions are templates" flag

monkyyy crazymonkyyy at gmail.com
Sun Jun 23 21:10:39 UTC 2024


On Sunday, 23 June 2024 at 20:26:14 UTC, Denis Feklushkin wrote:
> On Sunday, 23 June 2024 at 17:18:11 UTC, monkyyy wrote:
>
>> In wasm with a broken libc, phoboes is unusable, for silly 
>> reasons like t_time being undefined so I cant use anything 
>> that imports chains to core.*, which as far as I know is all 
>> of Phobos
>
> All functions are templates except marked as extern or export?
>
> Because some functions can be called implictly from outside and 
> you don’t even know about it

I'm not sure I follow what situation you believe it would help? 
Such a flag would probably just break incremental/complex 
compilation.


More information about the dip.ideas mailing list