mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-31 15:20:34 +00:00
501135fa76
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 |
||
---|---|---|
.. | ||
pybind11 |