https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93191
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2020-02-11
Ever confirmed|0 |1
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Not quite sure if this is valid: clang++ (trunk) accepts (with -std=c++2a)
void cat(const auto(&...s)[6]) { }
using punk = char(*)[];
int
main ()
{
cat("Hello","world");
}
but not
void cat(const auto(&...s)[]) { }
using punk = char(*)[];
int
main ()
{
cat("Hello","world");
}