[Bug c++/71502] Fold expression unpacks (I < ...) the wrong way
michele.caini at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Jun 11 15:12:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71502
--- Comment #1 from Michele Caini <michele.caini at gmail dot com> ---
I notice that there is a flaw in the text.
I expect this to compile and run with no errors, as it happens indeed:
#include<cassert>
int main() { assert((0 < 42) < 3); }
From what I wrote, it would seem that I consider it an error.
The actual issue is related to the fold expression.
More information about the Gcc-bugs
mailing list