<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal/catch_startup_exception_registry.h, branch v2.13.4</title>
<subtitle>Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.</subtitle>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/'/>
<entry>
<title>Hide std::exception_ptr and friends if exceptions disabled</title>
<updated>2020-06-12T21:23:55+00:00</updated>
<author>
<name>Matthias Blankertz</name>
</author>
<published>2020-06-04T09:53:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=0614a4acb36ef19d70a451b92a038e7d1e93941d'/>
<id>0614a4acb36ef19d70a451b92a038e7d1e93941d</id>
<content type='text'>
Some compilers, e.g. the Green Hills C++ compiler, react badly to the
appearance of std::exception_ptr, std::current_exception,
std::rethrow_exception and std::uncaught_exception(s). To allow usage of
Catch2 with these compilers when exceptions are disabled, hide the usage
of std::exception_ptr etc. when compiling with
CATCH_CONFIG_DISABLE_EXCEPTIONS.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some compilers, e.g. the Green Hills C++ compiler, react badly to the
appearance of std::exception_ptr, std::current_exception,
std::rethrow_exception and std::uncaught_exception(s). To allow usage of
Catch2 with these compilers when exceptions are disabled, hide the usage
of std::exception_ptr etc. when compiling with
CATCH_CONFIG_DISABLE_EXCEPTIONS.
</pre>
</div>
</content>
</entry>
<entry>
<title>Made everything used in test case registration noexcept</title>
<updated>2017-07-13T07:25:47+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2017-07-13T07:25:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e01ed48a70925a6b18f70882f0065a42a560782b'/>
<id>e01ed48a70925a6b18f70882f0065a42a560782b</id>
<content type='text'>
- this prevents warnings about startup-time exceptions
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- this prevents warnings about startup-time exceptions
</pre>
</div>
</content>
</entry>
<entry>
<title>Collect startup exceptions instead of throwing them</title>
<updated>2017-06-04T19:39:27+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-06-04T19:39:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=da0edcbe257c9b5f19e69906ce1b10f4dac4fa98'/>
<id>da0edcbe257c9b5f19e69906ce1b10f4dac4fa98</id>
<content type='text'>
Previously, some errors in Catch configuration would cause exceptions to
be thrown before main was even entered. This leads to call to
`std::terminate`, which is not a particularly nice way of ending the
binary.

Now these exceptions are registered with a global collector and used
once Catch enters main. They can also be optionally ignored, if user
supplies his own main and opts not to check them (or ignored them
intentionally).

Closes #921
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, some errors in Catch configuration would cause exceptions to
be thrown before main was even entered. This leads to call to
`std::terminate`, which is not a particularly nice way of ending the
binary.

Now these exceptions are registered with a global collector and used
once Catch enters main. They can also be optionally ignored, if user
supplies his own main and opts not to check them (or ignored them
intentionally).

Closes #921
</pre>
</div>
</content>
</entry>
</feed>
