Thread overview
[Issue 11855] Explicit template instantiation with opDispatch fails to compile
Apr 16, 2014
Yuriy
Dec 17, 2022
Iain Buclaw
April 16, 2014
https://issues.dlang.org/show_bug.cgi?id=11855

Yuriy <yuriy.glukhov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yuriy.glukhov@gmail.com

--- Comment #1 from Yuriy <yuriy.glukhov@gmail.com> ---
Seems like it should be done in the following way (though still does not work
with the same error):
struct Foo
{
    template opDispatch(string name)
    {
        void opDispatch (T) () { }
    }
}

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=11855

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

--
December 13
https://issues.dlang.org/show_bug.cgi?id=11855

--- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/18745

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--