[Issue 14651] Typesafe variadic functions don't work after optional arguments

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jun 4 19:48:59 PDT 2015


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

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at yahoo.com

--- Comment #1 from Steven Schveighoffer <schveiguy at yahoo.com> ---
I found something that works, but the syntax is a little weird (BTW, this is
not in the grammar, not sure if it's accidentally accepted):

void func1(size_t argc = 0, string[] argv = null...)

I don't know if this is intentional. I'm going to bring it up on the newsgroup.

--


More information about the Digitalmars-d-bugs mailing list