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.
Showing
Please
register
or
sign in
to comment