diff options
| author | Benjamin Worpitz | 2019-08-17 11:48:42 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2019-09-06 12:15:09 +0200 |
| commit | 18d597cf10b593de2853199b152f6a8a7a041293 (patch) | |
| tree | 52980365a2b48a49cd1d938dbb6e9991d18ec17e /projects/SelfTest/UsageTests/ToStringVector.tests.cpp | |
| parent | 6629c11ef8373d4192322431b6142351f6a31f52 (diff) | |
| download | catch3-18d597cf10b593de2853199b152f6a8a7a041293.tar.gz | |
Allow to use non-copyable and non-movable types in TEMPLATE_LIST_TEST_CASE
The parameter given to `convert` may not be copyable therefore it has to be
captured by const reference. For example an `std::tuple` that contains a
non-copyable type is itself non-copyable.
The NonDefaultConstructible test-case was reduced by one example type
because it did not add any value.
Diffstat (limited to 'projects/SelfTest/UsageTests/ToStringVector.tests.cpp')
0 files changed, 0 insertions, 0 deletions