commit | 56e107561362147dc13f63294a9a5b90b855697b | [log] [tgz] |
---|---|---|
author | Phil Nash <github@philnash.me> | Tue Nov 07 18:01:10 2017 +0000 |
committer | Phil Nash <github@philnash.me> | Tue Nov 07 18:01:10 2017 +0000 |
tree | 468d68df3f1abaaa9973627a395673b88805e6c7 | |
parent | 868e125d49ca85f7cab04e847f03244291d3f4f7 [diff] |
Introduced ReusableStringStream and removed all uses of std::ostringstream from the main path ReusableStringStream holds a std::ostringstream internally, but only exposes the ostream interface. It caches a pool of ostringstreams in a vector which is currently global, but will be made thread-local. Altogether this should enable both runtime and compile-time benefits. although more work is needed to realise the compile time opportunities.
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 stands for C++ Automated Test Cases in a Header and 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: