diff options
| author | Phil Nash | 2017-11-07 18:01:10 +0000 |
|---|---|---|
| committer | Phil Nash | 2017-11-07 18:01:10 +0000 |
| commit | 56e107561362147dc13f63294a9a5b90b855697b (patch) | |
| tree | 468d68df3f1abaaa9973627a395673b88805e6c7 /projects/SelfTest/UsageTests/ToStringVector.tests.cpp | |
| parent | 868e125d49ca85f7cab04e847f03244291d3f4f7 (diff) | |
| download | catch3-56e107561362147dc13f63294a9a5b90b855697b.tar.gz | |
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.
Diffstat (limited to 'projects/SelfTest/UsageTests/ToStringVector.tests.cpp')
0 files changed, 0 insertions, 0 deletions