Closed xavier2910 closed 1 year ago
This is because exception handling is disabled by default.
See system_configuration.h:
#undef __UCLIBCXX_EXCEPTION_SUPPORT__
You can #define
that if you really want to tangle with exceptions. Be careful, though!
When I try to throw a
logic_error
, I am given an error saying:namespace "std" has no member "logic_error"
. I have included thestdexcept
header.