mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
d6f23a9a36
Detail::rangeToString is now defined after the various toString overloads. This results in them being accessible with rangeToString is instantiated (in this case, by StringMaker<vector>). This (sort-of) fixes the problem where contained types are toString'd incorrectly. Consider: std::vector<std::string> v { "abc" }; Before: Catch::toString( v ) == "{ abc }" After: Catch::toString( v ) == "{ "abc" }" (note the extra pair of quotes around the "abc" - these are added by Catch::toString( std::string ) which is now called by rangeToString) |
||
---|---|---|
.. | ||
internal | ||
reporters | ||
catch_runner.hpp | ||
catch_with_main.hpp | ||
catch.hpp |