[Bug libstdc++/59530] New: Incorrect check on string_view operator[]
bigotp at acm dot org
gcc-bugzilla@gcc.gnu.org
Mon Dec 16 19:34:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59530
Bug ID: 59530
Summary: Incorrect check on string_view operator[]
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: bigotp at acm dot org
Created attachment 31449
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31449&action=edit
Patch and test update
Per http://isocpp.org/files/papers/N3762.html#string.view.ops, string_view's
operator[](size()) is undefined, unlike basic_string_view.
More information about the Gcc-bugs
mailing list