Objective-D, reflective programming, dynamic typing

Jarrett Billingsley jarrett.billingsley at gmail.com
Fri Apr 3 08:06:07 PDT 2009


On Fri, Apr 3, 2009 at 10:38 AM, Eljay <eljay at adobe.com> wrote:

> Alas, I'm not sure how to pass the variadic arguments through to another variadic function, with this
> signature:
> void perform(...)

You can't.  D's varargs suck.

> I also tried using Variant array -- wherein I expected automagic Variant packaging (assuming I
> understood the documentation correctly) -- but that did not work (could be PEBKAC):
> void perform(Variant[] ar ...)

This is *exactly* what I'd like to replace D's varargs.  I've
suggested it several times.



More information about the Digitalmars-d mailing list