[Issue 8687] Variadic templates do not work properly with default arguments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 30 10:19:59 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=8687


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-06-30 10:19:58 PDT ---
Please note that in 2.063 the compiler now ICEs on this unsupported feature:

-----
void foo(T...)(T args, string file = __FILE__) { }

void main()
{
    foo();
}
-----

> Assertion failure: 'index < dim' on line 462 in file 'root\root.h'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list