mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-11 17:00:34 +00:00
We can't support this for classes from imported modules (which is the primary purpose of a ctor argument base class) because we *have* to have both parent and derived to properly extract a multiple-inheritance base class pointer from a derived class pointer. We could support this for actual `class_<Base, ...> instances, but since in that case the `Base` is already present in the code, it seems more consistent to simply always require MI to go via template options.
4.8 KiB
4.8 KiB