Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/ToStringTuple.cpp
diff options
context:
space:
mode:
authorAndy Sawyer2013-09-21 18:45:42 +0100
committerAndy Sawyer2013-09-21 18:45:42 +0100
commitd6f23a9a36cf008b870a2d7c51e422dc209d3241 (patch)
treed2acec1f421adf69eb1a4dbef703b59e5f848118 /projects/SelfTest/ToStringTuple.cpp
parent0dbcf218c353e801d4fa26d14696e81f6b832cad (diff)
downloadcatch3-d6f23a9a36cf008b870a2d7c51e422dc209d3241.tar.gz
catch_tostring : moved defintion of rangeToString
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)
Diffstat (limited to 'projects/SelfTest/ToStringTuple.cpp')
0 files changed, 0 insertions, 0 deletions