From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,HEADER_SPAM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b30bd69fa8f63cb2 X-Google-Attributes: gid103376,public X-Google-Thread: fc772,b30bd69fa8f63cb2 X-Google-Attributes: gidfc772,public X-Google-ArrivalTime: 2003-06-05 13:49:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!uwm.edu!rpi!not-for-mail From: brangdon@cix.co.uk (Dave Harris) Newsgroups: comp.lang.ada,comp.lang.c++.moderated Subject: Re: C bug of the day Date: 5 Jun 2003 16:51:26 -0400 Organization: unknown Sender: cppmods@netlab.cs.rpi.edu Message-ID: References: <1054751321.434656@master.nyc.kbcfp.com> Reply-To: brangdon@cix.co.uk NNTP-Posting-Host: netlab.cs.rpi.edu X-Original-Date: Thu, 5 Jun 2003 19:31 +0100 (BST) X-Submission-Address: c++-submit@netlab.cs.rpi.edu X-Auth: PGPMoose V1.1 PGP comp.lang.c++.moderated iQBVAwUAPt+tSkHMCo9UcraBAQE1MgIAqi/es2bFR7JdvseNndANPcKZPNShqBiS 51XtN8/Iz+yGmYW06sweSO1C0hVdfxjy7E7+yKdkIv+MR2bYXUtUAA== =8kAb Xref: archiver1.google.com comp.lang.ada:38736 comp.lang.c++.moderated:67831 Date: 2003-06-05T16:51:26-04:00 List-Id: hyrosen@mail.com (Hyman Rosen) wrote (abridged): > > Would you care to explain why "C++ is not safe because of > > the STL"? > > He misphrased his English somewhat. He means that "just > because C++ has the STL, that does not make it safe", > alluding to the leagcy C stuff that is present. Although the other meaning is true too. C++ is unsafe largely due to undefined behaviour, and the STL has plenty of that. For example, vec[-1]. -- Dave Harris, Nottingham, UK [ Send an empty e-mail to c++-help@netlab.cs.rpi.edu for info ] [ about comp.lang.c++.moderated. First time posters: do this! ]