[Issue 17444] std.traits.isCallable doesn't recognize struct member function if return type is 'auto'.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat May 27 04:23:38 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17444

--- Comment #3 from uplink.coder at googlemail.com ---
I would classify this as a bug, however it seems like a fix for this would
break other situations.

for now the best workaround is to not use functions returning auto inside that
struct.

--


More information about the Digitalmars-d-bugs mailing list