mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-12 09:17:42 +00: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