🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Bjarne Stroustrup Fri, 28 Feb 1986 18:25
Is C++ "safe?" (No, but ...)
#35
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads