opDispatch(string name, E...) (E e) question.
bls
bizprac at orange.fr
Sun Mar 25 15:16:28 PDT 2012
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...)
More information about the Digitalmars-d-learn
mailing list