[C++-sig] Re: Does boost::python support complex numbers?

David Abrahams dave at boost-consulting.com
Wed Jul 7 00:58:35 CEST 2004

Wirawan Purwanto <wirawan0 at softhome.net> writes:

> Does boost::python support complex-number arithmetic? 

It supports automatic conversions between Python complex numbers and
std::complex<T> where T is float or double.

Dave Abrahams
Boost Consulting

More information about the Cplusplus-sig mailing list