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

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/ToStringVector.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2017-01-30 11:56:29 +0100
committerMartin Hořeňovský2017-01-30 11:56:29 +0100
commit15816c5760cd6752d9d74759773044c638096422 (patch)
treea5253eecc2dc850343cf2b849903c0833647a18f /projects/SelfTest/ToStringVector.cpp
parent02a69b449f59605cf9fa7f865a3b6daa8d104a79 (diff)
downloadcatch3-15816c5760cd6752d9d74759773044c638096422.tar.gz
Revert "use sizeof(expr) for unevaluated syntax check"
Using sizeof(expr) can trigger a compile-time error, "lambda expressions are not allowed in an unevaluated context", when passing expression containing lambda, like a std algorithm. This error is considered a standard defect, as it is meant to prevent lambdas in decltype or templates, but not in sizeof. This reverts commit 227598af47e4d46f06cfcc879f206eb34e681275.
Diffstat (limited to 'projects/SelfTest/ToStringVector.cpp')
0 files changed, 0 insertions, 0 deletions