Add FOLLY_HAS_EXCEPTIONS preprocessor symbol
Summary: [Folly] Add `FOLLY_HAS_EXCEPTIONS` preprocessor symbol. Add checks for: * `__cpp_exceptions` and `__has_feature(cxx_exceptions)`. * MSVC platform. But avoiding a single unwieldy expression. And use it in `throw_exception`. Reviewed By: mnovakovic Differential Revision: D9732924 fbshipit-source-id: 4ac00e2d84007dfe8307f0e861ab2edfbde80fff
Showing
Please register or sign in to comment