Commit fb50ce1f authored by Jason Rhinelander's avatar Jason Rhinelander
Browse files

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.
parent d355f2fc
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment