https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104699
--- Comment #6 from qingzhe huang ---
Really appreciate the detailed explanation!
Very clear and completely convinced.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104699
--- Comment #5 from Jonathan Wakely ---
(In reply to Jonathan Wakely from comment #4)
> GCC, Clang, Intel and MSVC all agree here: the int[0] type does not match
> the X partial specialization.
Although they don't agree for std::is_array, beca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104699
--- Comment #4 from Jonathan Wakely ---
The std::is_array result is a consequence of the compiler not matching the
is_array partial specialization for int[0]:
using size_t = decltype(sizeof(0));
template struct X { static constexpr bool value =
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104699
Jonathan Wakely changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104699
qingzhe huang changed:
What|Removed |Added
CC||nickhuang99 at hotmail dot com
--- Comm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104699
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|