[Bug libstdc++/46320] Operator[] dereference does not generate exception for empty string

2010-11-05 Thread jerry at jerrycarter dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46320 --- Comment #2 from Jerry Carter 2010-11-05 17:55:25 UTC --- Apologies. I understood there to be a correspondence between the two (given that basic_string::at is implemented using basic_string::operator[]) but I now realize on second reading tha

[Bug c++/46320] New: Operator[] dereference does not generate exception for empty string

2010-11-05 Thread jerry at jerrycarter dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46320 Summary: Operator[] dereference does not generate exception for empty string Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3