diff options
| author | BiCapitalization | 2018-12-30 23:44:20 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2019-01-01 19:13:47 +0100 |
| commit | b3faceede2f2d165b0794d94a470656de38a6b23 (patch) | |
| tree | e4d1484ebd70ac113f14c490628a977c510eca0e /projects/SelfTest/UsageTests/ToStringVector.tests.cpp | |
| parent | e7fce90b493b1546c8a13407b7fa40466f21a4f2 (diff) | |
| download | catch3-b3faceede2f2d165b0794d94a470656de38a6b23.tar.gz | |
Add nice error messages for unsupported && and ||
As explained in issue #1273, `operator&&` and `operator||` should give
a proper compile time error on use instead of the compiler complaining
about them not being defined. This commit adds an `always_false` type in
`catch_meta.hpp` used for implementing a nice `static_assert` for both
of the abovementioned operators.
Closes #1273
Diffstat (limited to 'projects/SelfTest/UsageTests/ToStringVector.tests.cpp')
0 files changed, 0 insertions, 0 deletions