This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: debug/vector anomalous behaviour


On Sun, May 11, 2008 at 7:34 AM,  <PAOLO.CARLINI@oracle.com> wrote:
> in fact, I'm coming to the conclusion that the new patch is correct: when pedantic, the user of the debug-mode capacity has no way of knowing the real, underlying capacity.

Right, they can only know what capacity is guaranteed by the standard,
which either grows minimally (when inserting) or is set by reserve().

  - Doug


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]