On Mon, 19 Jul 2010 20:33:59 +0200, BLS <windev...@hotmail.de> wrote:
On 19/07/2010 10:58, Rory McGuire wrote:template isProperty(alias func) if (isCallable!(func)) { enum isProperty = (functionAttributes!(func) & FunctionAttribute.PROPERTY)==0 ? false : true; }THANKS Rory isProperty() should become part of phobos.
I suppose so, currently one needs to make a wrapper for all the function attributes that you
might want to detect.