[Bug c++/104699] zero-length-array is not considered as an array

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 28 11:24:41 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104699

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(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<T[N]> partial specialization.


Although they don't agree for std::is_array, because libc++ uses Clang's
__is_array instrinsic.


More information about the Gcc-bugs mailing list