• Dean Moldovan's avatar
    Enable static properties (py::metaclass) by default · dd01665e
    Dean Moldovan authored
    Now that only one shared metaclass is ever allocated, it's extremely
    cheap to enable it for all pybind11 types.
    
    * Deprecate the default py::metaclass() since it's not needed anymore.
    * Allow users to specify a custom metaclass via py::metaclass(handle).
    dd01665e
test_multiple_inheritance.cpp 4.43 KB