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: 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 > 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 in the standard C++ library.