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


Jeff Sturm <jsturm@one-point.com> writes:

| >  From a programmer's perspective, why is it desirable to remove the
| > virtuality?
| 
| For C++, I can't think of a good reason besides performance.  In Java, I
| think 'final' is essential to the security framework.

There is no doubt that people will construct examples where they
think they need final for C++.  Similarly, there is no doubt people
will come up with techniques and arguments why that need is a
"ill-design" artefact.  Which is what has been happening since ages.
If you argue your case by saying that one approach is ideological,
you would have  trouble arguiing convincingly why the other is not.  

-- Gaby


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