Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 pybind#785
- Loading branch information