From 205613279737365530
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,8c9f1307b83ac2db,start
X-Google-Attributes: gidf78e5,public
From: "Cristian Georgescu" <Cristian.Georgescu@worldnet.att.net>
Subject: Q: virtual functions not overridable anymore?
Date: 1997/08/25
Message-ID: <01bcb109$1e790180$433574cf@worldnet.worldnet.att.net>#1/1
X-Deja-AN: 268459174
X-Original-Date: 25 Aug 1997 03:45:52 GMT
Organization: Opal Technologies
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUBNAEkSuEDnX0m9pzZAQGYkQF8DwNr3KIYLMP7Aztu16OW5IJPZYjzR5PJ G4hmy0qX0hvtC9V1P3BypLvijugPrg4h =I5LS
Newsgroups: comp.std.c++


Is there a way to specify that a virtual function should not be overridden
anymore? 

(The function is declared as virtual in the base class, and overridden in
the derived class, but I want that the classes derived from this class not
to override function anymore).

In the case there is no way to do this, maybe there is a need of a special
keyword (final?) to specify this?
-- 
Cristian Georgescu
_________________________________________________
    Smith Industries
    Aerospace & Defense Systems
    7-9 Vreeland Road,
    Florham Park, NJ 07932, USA.
_________________________________________________
E-mail: Georgescu_Christian@si.com      
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]



