On Monday, 3 October 2016 at 13:41:13 UTC, Manu wrote:
I'm finding this rather annoying:struct S { static @property int p() { return 10; } } pragma(msg, typeof(&S.p)); // prints: int function() @property pragma(msg, is(typeof(&S.p) == function)); // prints: falseIt looks like a function... but I can't identify it as a function!
https://dlang.org/phobos/std_traits.html#isSomeFunction ?