[Bug c++/92812] Implement P1975R0: Fixing the wording of parenthesized aggregate-initialization
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 10 21:17:34 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92812
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I don't know if this is supposed to be valid now too:
int arr[1] = static_cast<int[1]>(42);
or
using T = int[];
int arr[1] = static_cast<T>(42);
but it seems so.
More information about the Gcc-bugs
mailing list