https://github.com/efriedma-quic commented:
I don't think you can separate the initializer backing array check from the
string literal check. All three categories of non-unique object (string
literal, init list backing array, array template parameter) can overlap with
each other. e.g.
`static_assert(std::initializer_list<char>{'h','e','l','l','o','\0'}.begin() !=
"hello");` is ill-formed.
https://github.com/llvm/llvm-project/pull/197458
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits