<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal/catch_stringref.h, branch v2.10.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>Reinline some StringRef methods with trivial bodies</title>
<updated>2019-09-08T19:08:37+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-09-08T19:08:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=a156440b19c1103419b6e4d3ebbfe3c7ddb948dc'/>
<id>a156440b19c1103419b6e4d3ebbfe3c7ddb948dc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove (mostly) unused overloads of StringRef operator +</title>
<updated>2019-09-08T19:01:33+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-09-08T19:01:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=9f4c4777a5136a3e1f276398799961e9ccb4b572'/>
<id>9f4c4777a5136a3e1f276398799961e9ccb4b572</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make StringRef's operator std::string explicit</title>
<updated>2019-09-08T13:58:10+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-09-08T12:49:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7b865daccc7bba2dcc25a4f0b9ea7348b1b4d61f'/>
<id>7b865daccc7bba2dcc25a4f0b9ea7348b1b4d61f</id>
<content type='text'>
This way it is explicit when there is a `StringRef` -&gt; `std::string`
conversion and makes it easier to look for allocations that could
be avoided.

Doing this has already removed one allocation per registered test
case, as there was a completely pointless `StringRef` -&gt; `std::string`
conversion when parsing tags of a test case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This way it is explicit when there is a `StringRef` -&gt; `std::string`
conversion and makes it easier to look for allocations that could
be avoided.

Doing this has already removed one allocation per registered test
case, as there was a completely pointless `StringRef` -&gt; `std::string`
conversion when parsing tags of a test case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the ill-considered StringRef::numberOfCharacters</title>
<updated>2019-09-07T18:13:22+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-09-07T18:13:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=fe967b1f4122a67ae1b31febf26cf1751917a0eb'/>
<id>fe967b1f4122a67ae1b31febf26cf1751917a0eb</id>
<content type='text'>
It never counted characters, only codepoints. If you think these
are interchangeable, you should not touch non-ascii text.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It never counted characters, only codepoints. If you think these
are interchangeable, you should not touch non-ascii text.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove commented out code</title>
<updated>2019-05-26T19:19:55+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-05-26T19:19:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=a5a2d08fbb3f68cf3f0bfbaa11e8b7a2d4386d61'/>
<id>a5a2d08fbb3f68cf3f0bfbaa11e8b7a2d4386d61</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>StringRef no longer repoints m_start to m_data after c_str() on a substring.</title>
<updated>2019-05-20T23:04:44+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2019-05-20T23:04:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=96355da34edf51cc813400115984050bd7c50630'/>
<id>96355da34edf51cc813400115984050bd7c50630</id>
<content type='text'>
This fixes an issue where a self-assignment of a StringRef copy would point into internally (and now dangling) data.
(now self-assignment check is no longer needed)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes an issue where a self-assignment of a StringRef copy would point into internally (and now dangling) data.
(now self-assignment check is no longer needed)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix StringRef self-assignment after substring</title>
<updated>2019-05-18T16:54:39+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2019-05-18T16:54:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=3bce8ba14b5dfb55c0127b8ad9eddf5a92b662c0'/>
<id>3bce8ba14b5dfb55c0127b8ad9eddf5a92b662c0</id>
<content type='text'>
Thanks to Alex Tkachenko for spotting it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks to Alex Tkachenko for spotting it.
</pre>
</div>
</content>
</entry>
<entry>
<title>small cleanup of code</title>
<updated>2019-01-10T12:07:54+00:00</updated>
<author>
<name>Jozef Grajciar</name>
</author>
<published>2019-01-06T13:03:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=bdee512057fd896025bde6dcd2b837de522161a1'/>
<id>bdee512057fd896025bde6dcd2b837de522161a1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce "C-namespaced" UDL for StringRef</title>
<updated>2018-07-23T12:00:45+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-07-23T11:19:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=f7f592dfc96086ddaaf77150b072adbca4627dc8'/>
<id>f7f592dfc96086ddaaf77150b072adbca4627dc8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Provide a public method to get StringRef's underlying pointer</title>
<updated>2018-02-28T21:49:00+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-02-28T21:05:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=05cd05743a75caeffbd6ad4c675ac68bc8e270f1'/>
<id>05cd05743a75caeffbd6ad4c675ac68bc8e270f1</id>
<content type='text'>
This allows reducing the amount of friends needed for its interface
and some extra tricks later.

The bad part is that the pointer can become invalidated via
calls to other StringRef's public methods, but c'est la vie.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows reducing the amount of friends needed for its interface
and some extra tricks later.

The bad part is that the pointer can become invalidated via
calls to other StringRef's public methods, but c'est la vie.
</pre>
</div>
</content>
</entry>
</feed>
