Open stevengj opened 4 years ago
Since std::complex<T> can be losslessly converted to/from Complex{T} for typical bitstypes T, it seems like these conversions should be automatic in Cxx.jl?
std::complex<T>
Complex{T}
T
I was thinking of submitting a PR for this, but wanted to check whether this is desired.
I think the automatic conversions in PyCall are great, and it's also great to be able to inhibit the conversion with e.g. py"1j"o.
PyCall
py"1j"o
Since
std::complex<T>
can be losslessly converted to/fromComplex{T}
for typical bitstypesT
, it seems like these conversions should be automatic in Cxx.jl?I was thinking of submitting a PR for this, but wanted to check whether this is desired.