<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal/catch_matchers.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>Use char literal instead of string literal with 1 char</title>
<updated>2017-01-29T22:07:15+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-01-29T22:07:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=bcaa2f9646c5ce50758f8582307c99501a932e1a'/>
<id>bcaa2f9646c5ce50758f8582307c99501a932e1a</id>
<content type='text'>
In reality, this is a relatively small performance improvement,
especially with the previous improvements removing lots of superfluous
string handling, but still was measurable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In reality, this is a relatively small performance improvement,
especially with the previous improvements removing lots of superfluous
string handling, but still was measurable.
</pre>
</div>
</content>
</entry>
<entry>
<title>Various small string usage performance improvements.</title>
<updated>2017-01-15T09:05:01+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-01-15T08:41:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=3b98a0166f7b7196eba2ad518174d1a77165166d'/>
<id>3b98a0166f7b7196eba2ad518174d1a77165166d</id>
<content type='text'>
* Empty strings are now direct constructed as `std::string()`, not as empty string literals.
* `startsWith` and `endsWith` no longer construct new a string. This should be an improvement
for libstdc++ when using older standards, as it doesn't use SSO but COW and thus even short
strings are expensive to first create.
* Various places now use char literal instead of string literals containing single char.
** `startsWith` and `endsWith` now also have overload that takes single char.

Generally the performance improvements under VS2015 are small, as going from short string
to char is mostly meaningless because of SSO (Catch doesn't push string handling that hard)
and previous commit removed most string handling if tests pass, which is the expect case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Empty strings are now direct constructed as `std::string()`, not as empty string literals.
* `startsWith` and `endsWith` no longer construct new a string. This should be an improvement
for libstdc++ when using older standards, as it doesn't use SSO but COW and thus even short
strings are expensive to first create.
* Various places now use char literal instead of string literals containing single char.
** `startsWith` and `endsWith` now also have overload that takes single char.

Generally the performance improvements under VS2015 are small, as going from short string
to char is mostly meaningless because of SSO (Catch doesn't push string handling that hard)
and previous commit removed most string handling if tests pass, which is the expect case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix EndsWith Matcher (and refactored EndsWith  and StartsWith in terms of endsWith and startsWith) (see Issue #573)</title>
<updated>2016-01-22T07:59:06+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2016-01-22T07:50:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=b84e08ad6f11bd5981c540b7e6ed5bc7239fbae0'/>
<id>b84e08ad6f11bd5981c540b7e6ed5bc7239fbae0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed some trailing whitespace</title>
<updated>2015-12-04T10:20:33+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2015-12-04T10:20:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=722315a1f576edb19d0a15a758012e7cffb337fb'/>
<id>722315a1f576edb19d0a15a758012e7cffb337fb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>changed Not struct to a class.</title>
<updated>2015-11-06T18:07:29+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2015-11-06T18:05:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d10b73f9f178ea99e447d6e854fa110948eaa0a0'/>
<id>d10b73f9f178ea99e447d6e854fa110948eaa0a0</id>
<content type='text'>
- it was forward declared as a class, which caused warnings on some compilers. It should really have been a class anyway.
- this addresses the same issue as PR #534, albeit from the other angle.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- it was forward declared as a class, which caused warnings on some compilers. It should really have been a class anyway.
- this addresses the same issue as PR #534, albeit from the other angle.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added &amp;&amp;, || and ! operator overloads for matchers</title>
<updated>2015-11-05T18:46:00+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2015-11-05T18:46:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=054e3c5b4319ee21b7160736d0bdde2df438ad5f'/>
<id>054e3c5b4319ee21b7160736d0bdde2df438ad5f</id>
<content type='text'>
(syntactic sugar for AllOf, AnyOf and Not compositional matchers, respectively)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(syntactic sugar for AllOf, AnyOf and Not compositional matchers, respectively)
</pre>
</div>
</content>
</entry>
<entry>
<title>Stripped trailing whitespace from all source code lines</title>
<updated>2015-11-04T18:04:15+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2015-11-04T18:01:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e91738103ce8dc6c0ca6c096c66b79d25f3c18d6'/>
<id>e91738103ce8dc6c0ca6c096c66b79d25f3c18d6</id>
<content type='text'>
(replaces need for PRs #310 and #504)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(replaces need for PRs #310 and #504)
</pre>
</div>
</content>
</entry>
<entry>
<title>dev build 13</title>
<updated>2015-08-24T05:28:25+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2015-08-24T05:28:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d234ed1a67a41e2d14ddb1fbe839a4e5ab466311'/>
<id>d234ed1a67a41e2d14ddb1fbe839a4e5ab466311</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add matcher: Not()</title>
<updated>2015-08-12T09:07:55+00:00</updated>
<author>
<name>Simon Warta</name>
</author>
<published>2015-08-12T09:05:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=312b94e532100fbda8540bf4f15fb1cdc2b8cd71'/>
<id>312b94e532100fbda8540bf4f15fb1cdc2b8cd71</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Exception message assertions now work with matchers</title>
<updated>2015-07-15T22:02:25+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2015-07-15T22:02:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=72868920bb44c07b632ac351f05485b5b189f970'/>
<id>72868920bb44c07b632ac351f05485b5b189f970</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
