<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal/catch_capture_matchers.h, branch v2.4.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>Avoid copying StringRef</title>
<updated>2018-07-23T12:04:43+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-07-23T11:49:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=52cbb507abdc039f9a6859781106d8855004666d'/>
<id>52cbb507abdc039f9a6859781106d8855004666d</id>
<content type='text'>
In theory the copy is cheap (couple of pointers change), but tests
are usually compiled in Debug mode/with minimal optimizations, which
means that most users will still have to pay the cost for those
function calls.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In theory the copy is cheap (couple of pointers change), but tests
are usually compiled in Debug mode/with minimal optimizations, which
means that most users will still have to pay the cost for those
function calls.
</pre>
</div>
</content>
</entry>
<entry>
<title>Construct StringRef from constant strings in macros directly using UDL</title>
<updated>2018-07-23T12:00:45+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-07-23T11:55:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=83bfae1a50c0ff0893e809ce287432c1c3d94620'/>
<id>83bfae1a50c0ff0893e809ce287432c1c3d94620</id>
<content type='text'>
This avoids having to call `strlen` to get the constant string's length
and thus should improve performance.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids having to call `strlen` to get the constant string's length
and thus should improve performance.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add PredicateMatcher that takes an arbitrary predicate functions</title>
<updated>2018-04-04T09:14:19+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-04-03T21:28:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=1ca8f43b011ad61f4627a3339333406f15a46431'/>
<id>1ca8f43b011ad61f4627a3339333406f15a46431</id>
<content type='text'>
Also adds `Predicate` helper function to create `PredicateMatcher`.
Because of limitations in type inference it needs to be explicitly
typed, like so
`Predicate&lt;std::string&gt;([](std::string const&amp; str) { ... })`.
It also takes an optional second argument for description of the
predicate.

It is possible to infer the argument with sufficient TMP, see
https://stackoverflow.com/questions/43560492/how-to-extract-lambdas-return-type-and-variadic-parameters-pack-back-from-gener/43561563#43561563
but I don't think that the magic is worth introducing ATM.

Closes #1236
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also adds `Predicate` helper function to create `PredicateMatcher`.
Because of limitations in type inference it needs to be explicitly
typed, like so
`Predicate&lt;std::string&gt;([](std::string const&amp; str) { ... })`.
It also takes an optional second argument for description of the
predicate.

It is possible to infer the argument with sufficient TMP, see
https://stackoverflow.com/questions/43560492/how-to-extract-lambdas-return-type-and-variadic-parameters-pack-back-from-gener/43561563#43561563
but I don't think that the magic is worth introducing ATM.

Closes #1236
</pre>
</div>
</content>
</entry>
<entry>
<title>De-virtualised isBinaryExpression() and getResult() on ITransientExpression</title>
<updated>2017-11-27T19:49:26+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2017-11-27T19:49:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e3941a9ad2bf6b1b95c514651d01ab876e1d3e7a'/>
<id>e3941a9ad2bf6b1b95c514651d01ab876e1d3e7a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactored most handle() calls to more specific/ descriptive calls</title>
<updated>2017-11-26T21:28:43+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2017-11-24T19:15:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=db44964e27cb9dc4e4ff115e0ba29c9038824bcc'/>
<id>db44964e27cb9dc4e4ff115e0ba29c9038824bcc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bake exception guard into assertion handler flow</title>
<updated>2017-11-23T16:52:46+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2017-11-23T16:52:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=5323202652d061a0d1ae1cb631316d76b6c68de9'/>
<id>5323202652d061a0d1ae1cb631316d76b6c68de9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove isTrue, alwaysTrue, alwaysFalse</title>
<updated>2017-11-22T15:03:45+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-11-21T20:39:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=401ad7a18941fb3744533a315a8a9500a7f573c9'/>
<id>401ad7a18941fb3744533a315a8a9500a7f573c9</id>
<content type='text'>
isTrue and alwaysFalse were replaced by (void)0, 0 inspired by doctest
alwaysTrue was replaced by warning suppression
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
isTrue and alwaysFalse were replaced by (void)0, 0 inspired by doctest
alwaysTrue was replaced by warning suppression
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ULP and margin matcher</title>
<updated>2017-11-10T17:33:00+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-11-10T17:14:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=0b1f1b10030942c38ca8c1b95140b0c65efc903e'/>
<id>0b1f1b10030942c38ca8c1b95140b0c65efc903e</id>
<content type='text'>
Closes #1074
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1074
</pre>
</div>
</content>
</entry>
<entry>
<title>Changed all .hpp extensions to .h where there is now a corresponding .cpp</title>
<updated>2017-09-07T10:24:33+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2017-09-07T10:24:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=c5608f0202eb8ffd360e58db081fef248d675a6b'/>
<id>c5608f0202eb8ffd360e58db081fef248d675a6b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Workaround raw string literal bug in VS2017</title>
<updated>2017-08-27T10:38:59+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-08-26T13:14:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e8d3be3621241531a146571d55d7e181b1251e31'/>
<id>e8d3be3621241531a146571d55d7e181b1251e31</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
