This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/71377] SFINAE expression compiles, but it should not because of 14.5.5p8
- From: "michele.caini at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 02 Jun 2016 18:13:20 +0000
- Subject: [Bug c++/71377] SFINAE expression compiles, but it should not because of 14.5.5p8
- Auto-submitted: auto-generated
- References: <bug-71377-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71377
--- Comment #2 from Michele Caini <michele.caini at gmail dot com> ---
Right, got it.
Actually it's more like a complex way of writing a static assert.
Should it be considered a bug anyway? I mean, it's correct for GCC to accept it
or it should reject the code?
I'm not skilled enough to say how the standard applies in this case, I'm sorry.