[Issue 16347] Strange deprecation message when using templates

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Aug 1 12:19:20 PDT 2016


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

ag0aep6g at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ag0aep6g at gmail.com

--- Comment #2 from ag0aep6g at gmail.com ---
Reduced further:

----
module test;

import std.traits;

alias m = MemberFunctionsTuple!(T, "Mock");

class T
{
    auto getMock() { return new Mock; }
    private static class Mock {}
}
----

--


More information about the Digitalmars-d-bugs mailing list