[Issue 8388] std.traits.MemberFunctionsTuple doesn't work with constructors or destructors
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jul 19 00:41:19 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=8388
--- Comment #2 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
(In reply to Jonathan M Davis from comment #1)
> It looks like MermberFunctionsTuple only grabs virtual functions.
Not virtual - rather, non-templated. It ignores templates. Final functions seem
to work fine.
(In reply to Jonathan M Davis from comment #1)
> foo() isn't printed. So, the constructors and destructor probably aren't
> being grabbed, because they're non-virtual.
Pretty sure all class destructors in D are virtual.
--
More information about the Digitalmars-d-bugs
mailing list