[Issue 16707] [Templates] run variadic templates example failed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 24 12:42:37 UTC 2019


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

berni44 <bugzilla at d-ecke.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at d-ecke.de

--- Comment #1 from berni44 <bugzilla at d-ecke.de> ---
Should be

void main()
{
    print!(1,'a',6.8)();                    // prints: args are 1a6.8
    write!(int, char, double)(1, 'a', 6.8); // prints: args are 1a6.8
}

--


More information about the Digitalmars-d-bugs mailing list