mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-12 09:17:42 +00:00
I got some unexpected errors from code using `overload_cast` until I realized that I'd configured the build with -std=c++11. This commit adds a fake `overload_cast` class in C++11 mode that triggers a static_assert failure indicating that C++14 is needed.