http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56753
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-03-27 14:19:24 UTC --- (In reply to comment #0) > vBS.reserve(100); Either you meant resize() here or you need to read how std::vector works. Thousands of people use libstdc++ every day, if you think something so basic doesn't work there's a very, very good chance the bug is in your code, not GCC. (In reply to comment #2) > It appears that you are saying that you can not assign a value to a vector > using the assignment operator[]? That's not an assignment operator. > All the STL docs say that you can. No they don't.