commit | 7b865daccc7bba2dcc25a4f0b9ea7348b1b4d61f | [log] [tgz] |
---|---|---|
author | Martin Hořeňovský <martin.horenovsky@gmail.com> | Sun Sep 08 14:49:40 2019 +0200 |
committer | Martin Hořeňovský <martin.horenovsky@gmail.com> | Sun Sep 08 15:58:10 2019 +0200 |
tree | d6964f2f65b8fbcd70e8041e16677339f675f261 | |
parent | 14362533bb50596049f1b46bcc6d333208576a87 [diff] |
Make StringRef's operator std::string explicit This way it is explicit when there is a `StringRef` -> `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` -> `std::string` conversion when parsing tags of a test case.
The latest version of the single header can be downloaded directly using this link
If you've been using an earlier version of Catch, please see the Breaking Changes section of the release notes before moving to Catch2. You might also like to read this blog post for more details.
Catch2 is a multi-paradigm test framework for C++. which also supports Objective-C (and maybe C). It is primarily distributed as a single header file, although certain extensions may require additional headers.
This documentation comprises these three parts: