[Issue 9114] Can't call varadic template function with partly specified template parameters

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jun 1 09:30:06 PDT 2016


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

Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com

--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> ---
Workaround:

template test (int a)
{
    void test ( Args...) ( Args args ){}
}

void main ( char[][] arg)
{
    test!(5)(3);
}

--


More information about the Digitalmars-d-bugs mailing list