[Bug c++/36796] Support c++ override keyword
johan dot torp at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Nov 13 09:08:00 GMT 2008
------- 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't have a matching vfunc, it is an error
void Base::vfunc();
};
See
http://www.cpptalk.net/3-vt23515.html?postdays=0&postorder=asc&start=30
Johan Torp / www.johantorp.com
--
johan dot torp at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |johan dot torp at gmail dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36796
More information about the Gcc-bugs
mailing list