This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: debug/vector anomalous behaviour
On Sat, May 10, 2008 at 7:47 AM, Roberto Bagnara <bagnara@cs.unipr.it> wrote:
> So
>
> 365 #ifdef _GLIBCXX_DEBUG_PEDANTIC
> 366 return __elements > this->capacity();
> 367 #else
> 368 return __elements > _M_guaranteed_capacity;
> 369 #endif
>
> should become
>
> 365 #ifndef _GLIBCXX_DEBUG_PEDANTIC
> 366 return __elements > this->capacity();
> 367 #else
> 368 return __elements > _M_guaranteed_capacity;
> 369 #endif
>
> right?
Yes! Thank you.
- Doug