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
The class pybind11::type allows the user to request a python type from a C++ type. However it does not allow to request from a type_index directly. I would like for example to have this kind of interface:
In addition to the other of variants. I see from the internals that std::type_index is indeed used. So it would simple be a matter of exposing this to the user.
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
-
The class pybind11::type allows the user to request a python type from a C++ type. However it does not allow to request from a type_index directly. I would like for example to have this kind of interface:
In addition to the other
of
variants. I see from the internals thatstd::type_index
is indeed used. So it would simple be a matter of exposing this to the user.Beta Was this translation helpful? Give feedback.
All reactions