From -5697863058869544418
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,7c21e57f4a25e5f3
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2001-05-03 17:24:01 PST
Path: newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
From: "Sorin Jianu" <sorinj@real.com>
Newsgroups: comp.std.c++
Subject: Re: deleted pointers in a container
Date: Fri,  4 May 2001 00:23:25 GMT
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <9csgou$f2ma2$1@ID-13996.news.dfncis.de>
References: <3AF03AEA.1A6CBA81@jps.net> <9cq236$es1mc$1@ID-3706.news.dfncis.de> <3AF09397.2A02A060@acm.org> <9cqc9q$f169l$1@ID-3706.news.dfncis.de> <k_eI6.10$Ip3.481@burlma1-snr2>
X-Trace: mail2news.demon.co.uk 988935810 mail2news:28229 mail2news mail2news.demon.co.uk
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Orig-NNTP-Posting-Host: tog-wakko2.prognet.com (207.188.29.249)
X-Orig-X-Trace: fu-berlin.de 988923486 15817026 207.188.29.249 (16 [13996])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Lines: 29
Xref: newsfeed.google.com comp.std.c++:4359


"Barry Margolin" <barmar@genuity.net> wrote in message
news:k_eI6.10$Ip3.481@burlma1->
> Yes, it's true.  I believe it has been since C90, and C++ simply adopted
it
> like most other C features that don't conflict with C++'s goals.
>
>
> Actually, there's another provision that isn't even specific to pointers.
> I believe any reference to an indeterminate value results in undefined
> behavior, e.g.:
>
> int main() {
>   int p, q;
>   p = q;
> }
>

could you please point out where in the standard says so?

Sorin


---
[ 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://www.research.att.com/~austern/csc/faq.html                ]



