function is not function

Timon Gehr timon.gehr at gmx.ch
Fri Sep 21 17:22:22 PDT 2012


On 09/21/2012 10:41 PM, Ellery Newcomer wrote:
> On 09/21/2012 01:17 PM, bearophile wrote:
>>>     pragma(msg, is(typeof(a) == function)); // nope!
>
> code in pyd suggests this evaluated to true once upon a time.
>

I don't think it ever did. It is just very easy to get wrong.


More information about the Digitalmars-d-learn mailing list