Path: 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: Date: 20 Feb 91 02:39:34 GMT References: 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 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.