mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-01-21 14:23:14 +08:00
The holder casters assume but don't check that a `holder<type>`'s `type` is really a `type_caster_base<type>`; this adds a static_assert to make sure this is really the case, to turn things like `std::shared_ptr<array>` into a compilation failure. Fixes #785