logic_error
xavier2910 opened this issue · 1 comments
xavier2910 commented
When I try to throw a logic_error, I am given an error saying: namespace "std" has no member "logic_error". I have included the stdexcept header.
maniacbug commented
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!