https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114834
Bug ID: 114834
Summary: nontstring attribute vs. references
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
Target Milestone: ---
We currently allow the nonstring attribute just on pointers and arrays of
char/signed char/unsigned char.
Shouldn't we allow it also on references to those as well?
What about arrays/pointers of std::byte (aka enumeral type with unsigned char
as underlying type)?