Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/UsageTests/ToStringVector.tests.cpp
diff options
context:
space:
mode:
authorBiCapitalization2018-12-30 23:44:20 +0100
committerMartin Hořeňovský2019-01-01 19:13:47 +0100
commitb3faceede2f2d165b0794d94a470656de38a6b23 (patch)
treee4d1484ebd70ac113f14c490628a977c510eca0e /projects/SelfTest/UsageTests/ToStringVector.tests.cpp
parente7fce90b493b1546c8a13407b7fa40466f21a4f2 (diff)
downloadcatch3-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