diff options
| author | Martin Hořeňovský | 2017-01-30 11:56:29 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2017-01-30 11:56:29 +0100 |
| commit | 15816c5760cd6752d9d74759773044c638096422 (patch) | |
| tree | a5253eecc2dc850343cf2b849903c0833647a18f /projects/SelfTest/ToStringVector.cpp | |
| parent | 02a69b449f59605cf9fa7f865a3b6daa8d104a79 (diff) | |
| download | catch3-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