This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/59530] New: Incorrect check on string_view operator[]
- From: "bigotp at acm dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Dec 2013 19:34:21 +0000
- Subject: [Bug libstdc++/59530] New: Incorrect check on string_view operator[]
- Auto-submitted: auto-generated
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.