https://github.com/philsquared/Catch
Revision 8b0188385498d6ac101854dc3983c6ebd220adc3 authored by Martin Hořeňovský on 03 September 2018, 15:52:48 UTC, committed by Martin Hořeňovský on 03 September 2018, 19:08:27 UTC
This means

* Adding new configuration toggle `CATCH_CONFIG_DISABLE_EXCEPTIONS`
and a best-guess configuration auto-checking for it.
* Adding new set of internal macros, `CATCH_TRY`, `CATCH_CATCH_ALL`
and `CATCH_CATCH_ANON` that can be used in place of regular `try`,
`catch(...)` and `catch(T const&)` respectively, while disappearing
when `CATCH_CONFIG_DISABLE_EXCEPTIONS` is enabled.
* Replacing all uses of `throw` with calls to `Catch::throw_exception`
customization point.
* Providing a default implementation for the above customization point
when `CATCH_CONFIG_DISABLE_EXCEPTIONS` is set.
* Letting users override this implementation with their own.
* Some minor changes and ifdefs all around to support the above
1 parent 86da284
History
Tip revision: 8b0188385498d6ac101854dc3983c6ebd220adc3 authored by Martin Hořeňovský on 03 September 2018, 15:52:48 UTC
Add support for -fno-exceptions (or equivalent)
Tip revision: 8b01883
File Mode Size
.github
CMake
artwork
contrib
docs
examples
include
misc
projects
scripts
single_include
test_package
third_party
.gitattributes -rw-r--r-- 613 bytes
.gitignore -rw-r--r-- 478 bytes
.travis.yml -rw-r--r-- 6.9 KB
CMakeLists.txt -rw-r--r-- 5.5 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.1 KB
LICENSE.txt -rw-r--r-- 1.3 KB
README.md -rw-r--r-- 2.2 KB
appveyor.yml -rw-r--r-- 2.5 KB
codecov.yml -rw-r--r-- 400 bytes
conanfile.py -rw-r--r-- 1008 bytes

README.md

back to top