[PUSHED][3-5] Re: [REVIEW-3-5] MSVC stl usage.
Michael Stahl
mstahl at redhat.com
Tue Jun 12 05:21:59 PDT 2012
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.
More information about the LibreOffice
mailing list