You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like you need to also define CXXOPTS_NO_EXCEPTIONS, CXXOPTS_NO_RTTI only turns off dynamic vs static casting. I'm not sure if there is any benefit having those separated, I might just combine them into one option.
I've a project under MSVC 2017. If
CXXOPTS_NO_RTTI
is not defined, any call toxxx.as<T>()
produce an exception.Exception occurs at line 1458 of cxxopts.hpp, deeper at line 291 of rtti.cpp.
Unhandled exception at 0x00007FFAB6D24FD9 in bla.exe: Microsoft C++ exception: std::__non_rtti_object at memory location 0x000000FEE92FE820.
The text was updated successfully, but these errors were encountered: