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]

Re: How is unexpected() defined?


Jack Reeves wrote:
> 
> The KCC code is incorrect (which is suprising), the GCC result is as
> expected.

I don't think that KCC is necessarily incorrect. The behavior of the
program is undefined (according to 17.4.3, p1), so anything goes.

Regards
Martin


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