[net.lang.c++] Is C++ "safe?"

bs@alice.UucP (Bjarne Stroustrup) (02/28/86)

> 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.