On 12.06.2012 14:12, Tor Lillqvist wrote: >> No, growing a vector (which push_back can do) invalidates all references >> into the vector. > > Would building with --enable-dbgutil on Linux (thus defining > _GLIBCXX_DEBUG) had caught this problem?
no, because there's no iterator involved: back() returns a reference to the value_type. > If yes, they I certainly start agreeing with you (IIRC) that > developers should use --enable-dbgutil. despite not helping here, _GLIBCXX_DEBUG finds sufficiently many problems already that i think it's definitely worth using. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice