🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Responses to ~const 1.6: Possible generalizations of ~const

#835
From: Scott Schwartz
Date: Wed, 20 Feb 1991 02:39
11 lines
1104 bytes
ngo@tammy.harvard.edu (Tom Ngo) writes:
  I am still interested in hearing about potential uses for ~virtual.

As long as we are improving the language...

Make the default be that all member functions are virtual (like they
would be in an object oriented language).  Then when someone wants C
style behaviour they can tag individual functions as not virtual.
Like "register" this may be considered a hint to an optimizing
compiler, which will be looking to do such things on its own anyway.
Technical Details
Message-ID: <kb6Gkrsr@cs.psu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ncar!gatech!psuvax1!news
References: <NGO.91Feb19114034@tammy.harvard.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ncar!gatech!psuvax1!news
From: schwartz@groucho.cs.psu.edu (Scott Schwartz)
Newsgroups: comp.std.c++
Subject: Re: Responses to ~const 1.6:  Possible generalizations of ~const
Message-ID: <kb6Gkrsr@cs.psu.edu>
Date: 20 Feb 91 02:39:34 GMT
References: <NGO.91Feb19114034@tammy.harvard.edu>
Sender: news@cs.psu.edu (Usenet)
Distribution: comp
Organization: penn state computer science
Lines: 11
In-Reply-To: ngo@tammy.harvard.edu's message of 19 Feb 91 16:40:34 GMT
Nntp-Posting-Host: groucho.cs.psu.edu