Objective-D, reflective programming, dynamic typing

Eljay eljay at adobe.com
Fri Apr 3 07:38:17 PDT 2009


Hi Michel,

I tried the experiment...
obj.perform("add", 5, 3);

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

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 ...)

Hmmmm.

Sincerely,
--Eljay



More information about the Digitalmars-d mailing list