is(T == const) for function types

bearophile bearophileHUGS at lycos.com
Tue Dec 25 17:50:01 PST 2012


Ali Çehreli:

> Hmmm. I think the compiler is right. That const that is applied 
> "at the end" in that syntax is I think allowed only for member 
> functions. Otherwise these two work as well:

You seem right. The positional syntax of those tags tricks me 
sometimes still.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list