RFC: New C++ Attribute: final

Kevin Atkinson kevina@gnu.org
Mon Mar 1 20:58:00 GMT 2004


On Mon, 1 Mar 2004, Per Abrahamsen wrote:

> I'd very much like to see something like this in the C++ standard, but
> I believe it is against current policy to implement this kind of
> experimental language design extensions in GCC.

Well implementing an "experimental language design extensions in GCC" will 
(perhaps greatly) increase the chances that it will appear in the next 
C++ standard.  Furthermore much like "format" attribute, it will not 
change the behavior of a "correct" program.  By "correct" I mean a program 
witch does not override a virtual function which is marked as "final". 

-- 
http://kevin.atkinson.dhs.org



More information about the Gcc mailing list