pybind11/include
Jason Rhinelander fb50ce1fef Add static_assert-raising error for overload_cast in c++11
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.
2017-04-18 22:06:25 -04:00
..
pybind11 Add static_assert-raising error for overload_cast in c++11 2017-04-18 22:06:25 -04:00