Open
Description
Issue description
I have a class A and a subclass B, both registered by pybind11.
When enabling C++17 mode, I had to replace B::size
with a lambda function, as pybind11 suddenly started tying this to "A", which was previously correctly using the correct thing in C++14 mode. Seems to happen on both GCC and Clang.
Reproducible example code
Might try to build a minimal example later , just wanted to get this in so I don't forget. Change to make tests pass here: scikit-hep/boost-histogram@6c93370 "boolean" is my subclass, and "integer_none" is the previously registered parent. scikit-hep/boost-histogram#502