🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #37

ostream& operator<<(const void*)?

#37
From: James Hartley
Date: Wed, 04 Nov 1992 00:22
10 lines
819 bytes
I have been trying to track down why the above prototype is not present in the
AT&T 3.0 specifications for ostreams.  I realize that given the presence of --

	ostream& operator<<(void*);

means that the insertion of a trivial cast will remedy the problem, but it
really isn't a good idea to cast off the constant-ness of objects.  Any
suggestions will be appreciated.
-- 
jamesh@borland.com
Technical Details
Message-ID: <1992Nov4.002248.21325@borland.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!decwrl!borland.com!jamesh

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!decwrl!borland.com!jamesh
From: jamesh@borland.com (James Hartley)
Newsgroups: comp.std.c++
Subject: ostream& operator<<(const void*)?
Message-ID: <1992Nov4.002248.21325@borland.com>
Date: 4 Nov 92 00:22:48 GMT
Article-I.D.: borland.1992Nov4.002248.21325
Sender: news@borland.com (News Admin)
Organization: Borland International
Lines: 10
Originator: jamesh@genghis.borland.com