🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

stream package definition

#170
From: Bjarne Stroustrup
Date: Sat, 26 Apr 1986 14:29
14 lines
902 bytes
> From: Jim Mayer  <mayer>
> Path: ..!rochester!mayer
> 
> There is a minor problem in the definition of the "stream" package, as
> defined in the book and in the 1.0 release:
> 
>	ostream& operator<<(char *);
> 
> This should really be:
>
>	ostream& operator<<(const char *);

Yes, that is what we are doing here now.
In general, ``const'' was not used systematically enough in release 1.0.
Technical Details
Message-ID: <5351@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: stream package definition
Message-ID: <5351@alice.uUCp>
Date: Sat, 26-Apr-86 10:29:30 EDT
Article-I.D.: alice.5351
Posted: Sat Apr 26 10:29:30 1986
Date-Received: Sun, 27-Apr-86 07:37:43 EDT
Organization: Bell Labs, Murray Hill
Lines: 15