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: [libstdc++ PATCH] libstdc++ debug mode (fourth try)


Doug Gregor wrote:
> But in all cases you are relying upon behavior that the C++ standard 
> does not guarantee, so your code may not be portable to other 
> implementations of the standard library.

Fair enough; it's mostly the wording that bothers me - it seems to
imply that implementation-defined and unspecified behaviour is 
a subset of undefined behaviour.

>> Also, I don't see any place where the debug mode warns about
>> implementation-defined or unspecified behaviour (but I may be missing
>> something).
>
> There aren't many places where this occurs, but vector capacity is one 
> of them

OK, thanks

Petur


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