You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a binding of std::vector<std::complex<int16_t>> and std::vector<std::complex<int32_t>>.
I was wondering why such feature has been forbidden?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am working on a binding of std::vector<std::complex<int16_t>> and std::vector<std::complex<int32_t>>.
I was wondering why such feature has been forbidden?
See https://github.com/pybind/pybind11/blob/2b2e4ca4a3fe162bf9c4c95d1621dadab071df86/include/pybind11/complex.h#L24C41-L24C66
My only solution has been to bind it using a
def_buffer
Beta Was this translation helpful? Give feedback.
All reactions