<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal/catch_capture.hpp, branch v1.7.2</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>REQUIRE_THROWS_AS now catches exception by const&amp;</title>
<updated>2017-02-09T11:57:01+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-02-09T11:57:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=73159ace3d84b3cf01a126d6edefde196cceb621'/>
<id>73159ace3d84b3cf01a126d6edefde196cceb621</id>
<content type='text'>
Prevents some warnings caused by catching complex types by value.

Closes #542
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prevents some warnings caused by catching complex types by value.

Closes #542
</pre>
</div>
</content>
</entry>
<entry>
<title>REQUIRE_THROWS_AS is now reported with expected type as well</title>
<updated>2017-02-09T11:51:43+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-02-09T11:41:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=9952dda524e5578d808e2c267fff0799f228cbd2'/>
<id>9952dda524e5578d808e2c267fff0799f228cbd2</id>
<content type='text'>
Also updated tests to reflect this change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also updated tests to reflect this change.
</pre>
</div>
</content>
</entry>
<entry>
<title>expr is now cast to void in THROWS family of assertions.</title>
<updated>2017-01-31T17:02:11+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-01-31T17:02:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=0dabd951ba115f682e387d72f7f9866de824db0b'/>
<id>0dabd951ba115f682e387d72f7f9866de824db0b</id>
<content type='text'>
This prevents Clang from complaining about unused value in expressions
containing explicit casts used in the THROW assertion macro family.

Example:
`REQUIRE_THROWS_AS(static_cast&lt;bool&gt;(object), std::bad_cast);` would
trigger `-Wunused-value` warning. Now it does not.

Credits to Arto Bendiken, who submitted a PR almost 3 years ago, but his
branch has since died and I was unable to merge it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This prevents Clang from complaining about unused value in expressions
containing explicit casts used in the THROW assertion macro family.

Example:
`REQUIRE_THROWS_AS(static_cast&lt;bool&gt;(object), std::bad_cast);` would
trigger `-Wunused-value` warning. Now it does not.

Credits to Arto Bendiken, who submitted a PR almost 3 years ago, but his
branch has since died and I was unable to merge it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "use sizeof(expr) for unevaluated syntax check"</title>
<updated>2017-01-30T10:56:29+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-01-30T10:56:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=15816c5760cd6752d9d74759773044c638096422'/>
<id>15816c5760cd6752d9d74759773044c638096422</id>
<content type='text'>
Using sizeof(expr) can trigger a compile-time error,
"lambda expressions are not allowed in an unevaluated context", when passing
expression containing lambda, like a std algorithm. This error is considered
a standard defect, as it is meant to prevent lambdas in decltype
or templates, but not in sizeof.

This reverts commit 227598af47e4d46f06cfcc879f206eb34e681275.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using sizeof(expr) can trigger a compile-time error,
"lambda expressions are not allowed in an unevaluated context", when passing
expression containing lambda, like a std algorithm. This error is considered
a standard defect, as it is meant to prevent lambdas in decltype
or templates, but not in sizeof.

This reverts commit 227598af47e4d46f06cfcc879f206eb34e681275.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'dev-performance'</title>
<updated>2017-01-25T21:56:36+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-01-25T21:56:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=4ce11d63a6b0ec93c345599a6255c31c657b25c1'/>
<id>4ce11d63a6b0ec93c345599a6255c31c657b25c1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>CHECK no longer stops running SECTION on exception.</title>
<updated>2017-01-23T17:52:17+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-01-15T19:28:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=184865358c80ed37f6d9dadb6f80207482c95ab4'/>
<id>184865358c80ed37f6d9dadb6f80207482c95ab4</id>
<content type='text'>
This seems to be much closer to desired behaviour than the current one, where
CHECK(false) lets the execution continue, but CHECK(&lt;throws&gt;) does not.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This seems to be much closer to desired behaviour than the current one, where
CHECK(false) lets the execution continue, but CHECK(&lt;throws&gt;) does not.
</pre>
</div>
</content>
</entry>
<entry>
<title>use sizeof(expr) for unevaluated syntax check</title>
<updated>2017-01-19T20:25:27+00:00</updated>
<author>
<name>Mickey Rose</name>
</author>
<published>2017-01-19T14:04:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=227598af47e4d46f06cfcc879f206eb34e681275'/>
<id>227598af47e4d46f06cfcc879f206eb34e681275</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Force short-circuited evaluation for types that have overloaded &amp;&amp;.</title>
<updated>2017-01-17T22:31:03+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-01-17T22:31:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ee0ca512eade3c3e1e0652dc5cbc4c728a21a551'/>
<id>ee0ca512eade3c3e1e0652dc5cbc4c728a21a551</id>
<content type='text'>
This fixes #574.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes #574.
</pre>
</div>
</content>
</entry>
<entry>
<title>lazily stringify expressions</title>
<updated>2017-01-14T20:56:16+00:00</updated>
<author>
<name>Mickey Rose</name>
</author>
<published>2017-01-09T12:23:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=a1e9b841ff500b2f39ccfd4193ae450cb653da05'/>
<id>a1e9b841ff500b2f39ccfd4193ae450cb653da05</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>"test" expression using !! instead of static_cast to bool.</title>
<updated>2016-05-12T18:17:55+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2016-05-12T18:17:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7940d58a2fee08156fa310356534f1a1290408df'/>
<id>7940d58a2fee08156fa310356534f1a1290408df</id>
<content type='text'>
This addresses #657 while (hopefully) maintaining fix for #574
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This addresses #657 while (hopefully) maintaining fix for #574
</pre>
</div>
</content>
</entry>
</feed>
