🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c++
Article #35

Is C++ "safe?" (No, but ...)

#35
From: Bjarne Stroustrup
Date: Fri, 28 Feb 1986 18:25
8 lines
914 bytes
> Subject: Is C++ "safe" ?
> Path: ..!osu-cgrg!girard (michael girard @ Computer Graphics Research Group, Ohio State University)

>
> Does C++ have a compiler option for runtime array out of bounds checking?


No. No language that has C as a subset can be safe. You can, however, define
yourself a class ``vector'' that does range checking. You'll find such a
class in <vector.h> in the standard C++ library.
Technical Details
Message-ID: <5052@alice.uUCp>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!alice!bs

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!alice!bs
From: bs@alice.UucP (Bjarne Stroustrup)
Newsgroups: net.lang.c++
Subject: Is C++ "safe?" (No, but ...)
Message-ID: <5052@alice.uUCp>
Date: Fri, 28-Feb-86 13:25:40 EST
Article-I.D.: alice.5052
Posted: Fri Feb 28 13:25:40 1986
Date-Received: Sat, 1-Mar-86 17:22:49 EST
Organization: Bell Labs, Murray Hill
Lines: 8