Topic: final classes (Was: Ideas for new keywords and features)
Author: Valentin Bonnard <Bonnard.V@wanadoo.fr>
Date: 1999/07/25 Raw View
Fergus Henderson wrote:
> If you declare a class as final, then it must be a concrete class,
Even if it's common-sens, it would be a new requirement (at least
I haven't seen it stated yet):
final class X {
virtual ~X () = 0;
};
Silly, but why not ?
--
Valentin Bonnard
[ 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 ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]