From -8062868675250546931 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f78e5,8ba01a147f26fb88,start X-Google-Attributes: gidf78e5,public From: "Ed Brey" Subject: ++var and throw Date: 1999/09/22 Message-ID: <7sb2gi$qbg3@interserv.etn.com>#1/1 X-Deja-AN: 528320213 X-NNTP-Posting-Host: firewall.etn.com Approved: stephen.clamage@sun.com (comp.std.c++) X-UID: 0000000001 X-Priority: 3 X-Status: $$$T X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Eaton Corporation X-MSMail-Priority: Normal Newsgroups: comp.std.c++ Originator: clamage@taumet In the spirit of the ++var thread, I have a spin-off question (I coincidentally just ran into this while doing real work). Consider the statement: *p++ = f(); If f() throws, is p guaranteed to not be incremented? Where does the IS define this or say that it is undefined? [ comp.std.c++ is moderated. To submit articles, try just posting with ] [ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]