On 06/05/2013 12:02 AM, Jonathan M Davis wrote:
On Wednesday, June 05, 2013 08:52:35 lomereiter wrote:
This doesn't work when the method is marked as @property. Any
idea why is that so?

On Wednesday, 5 June 2013 at 02:19:38 UTC, Jonathan M Davis wrote:
is(typeof(A.func) == const)

- Jonathan M Davis

I don't know. My first guess would be that it thought that it was calling it
except that it's being referenced by the type, not by an instance, so that
doesn't really make sense.

- Jonathan M Davis


P.S. Please don't top-post. It makes it harder to follow posts and is
generally considered bad newsgroup etiquette.




pragma(msg, is(FunctionTypeOf!(A.func) == const));

Reply via email to