catch2/include
Martin Hořeňovský 0354d50278 Added templated constructor to C++11 Approx
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
2017-04-04 15:19:15 +02:00
..
external Don’t assume first CL arg (exe name) is present 2017-03-13 11:00:58 +00:00
internal Added templated constructor to C++11 Approx 2017-04-04 15:19:15 +02:00
reporters print messages when unexpected exceptions are thrown 2017-04-04 11:27:19 +02:00
catch_session.hpp use inline 'libraryVersion()' function (closes #858) 2017-03-22 15:51:02 +01:00
catch_with_main.hpp Fixed catch_with_main.hpp (no longer references deleted catch_runner.hpp) 2015-12-28 15:06:04 +00:00
catch.hpp Changed all internal forwarding macro usages to put macro name as first argument 2017-03-21 13:23:35 +00:00