<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal/catch_approx.hpp, branch v2.0.0-develop.1</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>Add missing &lt;algorithm&gt; include in catch_approx.hpp</title>
<updated>2017-08-01T20:02:00+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-08-01T20:02:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=6d4673505dee65a7c109153b21c458f17198ffa0'/>
<id>6d4673505dee65a7c109153b21c458f17198ffa0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up Approx to take arguments by const&amp;</title>
<updated>2017-07-27T09:32:04+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-07-27T08:45:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=a40add315382ef4673279d5c71282715ff7b2247'/>
<id>a40add315382ef4673279d5c71282715ff7b2247</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove superfluous include</title>
<updated>2017-07-27T09:32:03+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-07-26T19:24:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ab0f1dcde9a9a2ad418c3843abca4db056a07b45'/>
<id>ab0f1dcde9a9a2ad418c3843abca4db056a07b45</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Split out non-templated Approx methods into cpp file</title>
<updated>2017-07-19T11:40:00+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-07-19T08:01:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=edbe12276143fb27a7f98c1af0e6f25c8787aae2'/>
<id>edbe12276143fb27a7f98c1af0e6f25c8787aae2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move back to static StringMaker&lt;T&gt;::convert</title>
<updated>2017-05-21T21:40:05+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-05-21T21:40:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=67914d8b8634da89cc8d37d65ca682bb14c484d8'/>
<id>67914d8b8634da89cc8d37d65ca682bb14c484d8</id>
<content type='text'>
This avoids some breakage from the modernization
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids some breakage from the modernization
</pre>
</div>
</content>
</entry>
<entry>
<title>Reworked stringification layer, removed Catch::toString</title>
<updated>2017-05-02T21:51:03+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-05-02T21:51:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=33ed1773f40b406dbf3b7201bf52694bd86b1503'/>
<id>33ed1773f40b406dbf3b7201bf52694bd86b1503</id>
<content type='text'>
Now the order of stringification checks is

1) StringMaker specialization
2) operator&lt;&lt;

toString overloads and specializations have been removed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now the order of stringification checks is

1) StringMaker specialization
2) operator&lt;&lt;

toString overloads and specializations have been removed.
</pre>
</div>
</content>
</entry>
<entry>
<title>A load more C++11 tweaks - mostly moving initialisations from constructors to inline</title>
<updated>2017-04-25T18:30:53+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2017-04-25T17:56:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e749724a11e02308a3b8869cdca703cfddc04d89'/>
<id>e749724a11e02308a3b8869cdca703cfddc04d89</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed C++98 backcompat from Approx</title>
<updated>2017-04-25T09:11:26+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-04-25T09:11:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=2fdd81a33f36685b0708680a2ea15e670d5db730'/>
<id>2fdd81a33f36685b0708680a2ea15e670d5db730</id>
<content type='text'>
Now it always uses type traits to work with all types convertible to
double
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now it always uses type traits to work with all types convertible to
double
</pre>
</div>
</content>
</entry>
<entry>
<title>All of Approx's member functions now accept strong typedefs</title>
<updated>2017-04-24T20:01:45+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-04-24T20:01:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=a34c053f0a06f719f93f7e7a3ab4319cd6dd10b4'/>
<id>a34c053f0a06f719f93f7e7a3ab4319cd6dd10b4</id>
<content type='text'>
Previously `Approx::operator()`, `Approx::epsilon`, `Approx::margin` and
`Approx::scale` didn't.

Closes #888
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously `Approx::operator()`, `Approx::epsilon`, `Approx::margin` and
`Approx::scale` didn't.

Closes #888
</pre>
</div>
</content>
</entry>
<entry>
<title>Added templated constructor to C++11 Approx</title>
<updated>2017-04-04T13:19:15+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-04-04T13:19:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=0354d50278d725d52084601300eb955cee6756d8'/>
<id>0354d50278d725d52084601300eb955cee6756d8</id>
<content type='text'>
When using C++11, comparison operators are already templated to take
anything that can be explicitly converted to double, but constructor
took only doubles. This lead to warnings when an `Approx` was
constructed from floats, which was problematic for some users.

Since just adding float constructor would be a large breaking change, as
suddenly `Approx( 1 )` would become ambiguous, I added a templated
constructor that will take anything that is explicitly convertible to
double. This has the added benefit of allowing constructing `Approx`
instances from instances of strong typedefs, ie allowing
`calculated_temp == Approx( known_temp)`.

Closes #873
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using C++11, comparison operators are already templated to take
anything that can be explicitly converted to double, but constructor
took only doubles. This lead to warnings when an `Approx` was
constructed from floats, which was problematic for some users.

Since just adding float constructor would be a large breaking change, as
suddenly `Approx( 1 )` would become ambiguous, I added a templated
constructor that will take anything that is explicitly convertible to
double. This has the added benefit of allowing constructing `Approx`
instances from instances of strong typedefs, ie allowing
`calculated_temp == Approx( known_temp)`.

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