This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: How is unexpected() defined?
- To: libstdc++ at gcc dot gnu dot org
- Subject: Re: How is unexpected() defined?
- From: Martin Sebor <sebor at roguewave dot com>
- Date: Mon, 12 Nov 2001 11:05:53 -0700
- Organization: Rogue Wave Software, Inc.
- References: <F114SByh133tYwlib4g00005df6@hotmail.com>
- Reply-to: libstdc++ at gcc dot gnu dot org
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