spec: Function types

Dibyendu Majumdar mobile at majumdar.org.uk
Sat Nov 21 01:05:01 UTC 2020


On Saturday, 21 November 2020 at 00:57:10 UTC, Adam D. Ruppe 
wrote:
> On Saturday, 21 November 2020 at 00:51:30 UTC, Dibyendu 
> Majumdar wrote:
>> pragma(msg, typeof(&fun).stringof);
>
> If fun is nested it will be a delegate. Only if top-level or 
> static will it be function.

I see. Okay thanks


More information about the Digitalmars-d mailing list