From 2774733384776775417
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109fba,515fa24b8aaed57
X-Google-Attributes: gid109fba,public
X-Google-Thread: f78e5,515fa24b8aaed57
X-Google-Attributes: gidf78e5,public
From: kanze@lts.sel.alcatel.de (James Kanze US/ESC 60/3/141 #40763)
Subject: Re: Example in "The C++ Workbook" by Wiener and Pinson
Date: 1995/07/20
Message-ID: <KANZE.95Jul20112409@slsvhdt.lts.sel.alcatel.de>#1/1
X-Deja-AN: 106599953
sender: news@lts.sel.alcatel.de
references: <3ujj8d$o4m@scapa.cs.ualberta.ca> <DBzuD7.BGq@research.att.com>
organization: SEL
newsgroups: comp.lang.c++,comp.std.c++

In article <DBzuD7.BGq@research.att.com> ark@research.att.com (Andrew
Koenig) writes:

|> so this shouldn't work.  What should happen is that the compiler should
|> refuse to execute your program,

Since this is comp.std.c++ (and not comp.lang.c++): does the standard
say that the implementation must refuse to execute your program.  It
certainly requires a diagnostic, but it was my understanding that once
the diagnostic was emitted, the implementation was free to do pretty
much whatever it pleased (including generating executable code which
does something completely different than what the programmer wanted).
-- 
James Kanze         Tel.: (+33) 88 14 49 00        email: kanze@gabi-soft.fr
GABI Software, Sarl., 8 rue des Francs-Bourgeois, F-67000 Strasbourg, France
Conseils en informatique industrielle --
                              -- Beratung in industrieller Datenverarbeitung





