doubles and ints are not upcasted properly to complex
foo(Complex!double c)

foo(3) fails

I'd like to do something like

alias CR(t) = Complex!double(t);


CR(3)

which would be equivalent to typing Complex!double(3) but much shorter.

Writing a wrapper is overkill.



Reply via email to