Thread overview
[Issue 8388] std.traits.MemberFunctionsTuple doesn't work with constructors or destructors
Nov 13, 2014
Walter Bright
Jul 19, 2017
Vladimir Panteleev
Aug 28, 2017
RazvanN
Jan 29, 2020
Dlang Bot
Jan 29, 2020
Dlang Bot
November 13, 2014
https://issues.dlang.org/show_bug.cgi?id=8388

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com
            Version|unspecified                 |D2

--
July 19, 2017
https://issues.dlang.org/show_bug.cgi?id=8388

--- Comment #2 from Vladimir Panteleev <dlang-bugzilla@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.

--
August 28, 2017
https://issues.dlang.org/show_bug.cgi?id=8388

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305@gmail.com

--- Comment #3 from RazvanN <razvan.nitu1305@gmail.com> ---
PR : https://github.com/dlang/phobos/pull/5710

--
January 29, 2020
https://issues.dlang.org/show_bug.cgi?id=8388

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
@berni44 created dlang/phobos pull request #7385 "Fix Issue 8388 - std.traits.MemberFunctionsTuple doesn't work with constructors or destructors" fixing this issue:

- Fix Issue 8388 - std.traits.MemberFunctionsTuple doesn't work with
  constructors or destructors

https://github.com/dlang/phobos/pull/7385

--
January 29, 2020
https://issues.dlang.org/show_bug.cgi?id=8388

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #7385 "Fix Issue 8388 - std.traits.MemberFunctionsTuple doesn't work with constructors or destructors" was merged into master:

- c6ef9e136d33f7c03882421f8361bfad341814f6 by Bernhard Seckinger:
  Fix Issue 8388 - std.traits.MemberFunctionsTuple doesn't work with
  constructors or destructors

https://github.com/dlang/phobos/pull/7385

--