mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-20 23:49:18 +00:00
Currently user specializations of the form template <typename itype> struct polymorphic_type_hook<itype, std::enable_if_t<...>> { ... }; will fail if itype is also polymorphic, because the existing specialization will also be enabled, which leads to 2 equally viable candidates. With this change, user provided specializations have higher priority than the built in specialization for polymorphic types. |
||
---|---|---|
.. | ||
pybind11 |