[Bug c++/36796] Support c++ override keyword

2008-11-13 Thread johan dot torp at gmail dot com
--- Comment #2 from johan dot torp at gmail dot com 2008-11-13 08:26 --- I would also appreciate if gcc supported the override keyword. Consider adding the keyword 'sealed' and perhaps even 'abstract' too. Johan Torp / www.johantorp.com -- http://gcc.gnu.org/b

[Bug c++/36796] Support c++ override keyword

2008-11-13 Thread johan dot torp at gmail dot com
--- Comment #3 from johan dot torp at gmail dot com 2008-11-13 09:07 --- I should mention that another option (that is also microsoft specific) is available: class Base { virtual void vfunc(); } class Derived { // qualify using Base:: to say that you are overiding // if Base doesn&#