This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70667] SFINAE error disambiguating using alignas
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 Apr 2016 21:52:23 +0000
- Subject: [Bug c++/70667] SFINAE error disambiguating using alignas
- Auto-submitted: auto-generated
- References: <bug-70667-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70667
--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
I'm not sure if that changes the validity of the test case (the invalid
alignment on the member makes the whole class invalid) but the error is the
same with A defined with the alignment specifier rather than its member.
template <int N> struct alignas (N) A { int a; };