This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/70667] SFINAE error disambiguating using alignas


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; };

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]