mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-08 23:39:12 +00:00
An alias can be used for two main purposes: to override virtual methods, and to add some extra data to a class needed for the pybind-wrapper. Both of these absolutely require that the wrapped class be polymorphic so that virtual dispatch and destruction, respectively, works.
12 KiB
12 KiB