On 03/25/2012 02:59 PM, James Miller wrote:
Ok, so looking here:http://dlang.org/function.html, I have determined
that, if you are using Variant arrays (though I'm not sure if you can
do that using literals...) you can use the syntax from this example:
Thanks James..
will give it tomorrow a new try.
At least
Variant[] va = [1, 2.3222, "abc"];
is not working.
Guess I have to give up the opDispatch() thing and create it a bit more
traditional :)
Bjoern
oh, beside you mean :
opDispatch(string name, T) (T[] t...)