This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: New C++ Attribute: final


On Sat, Feb 28, 2004 at 09:43:19PM -0500, Kevin Atkinson wrote:
>   b->f(); // non virtual call since the function in type B is marked
>           // as final
>   b->B::f(); // equalvent to the above

So, what's the benefit?  If that user wants a non-virtual call, he can
specify the latter, and it will be more portable and obvious to anyone
reading the code.

-- 
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
                                                 - Edsger Dijkstra, 1930-2002


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]