| 80 | } |
| 81 | |
| 82 | static handle |
| 83 | cast(const std::complex<T> &src, return_value_policy /* policy */, handle /* parent */) { |
| 84 | return PyComplex_FromDoubles((double) src.real(), (double) src.imag()); |
| 85 | } |
| 86 | |
| 87 | PYBIND11_TYPE_CASTER( |
| 88 | std::complex<T>, |
nothing calls this directly
no outgoing calls
no test coverage detected