[Libreoffice] final and override

Stephan Bergmann sbergman at redhat.com
Mon Nov 28 05:42:21 PST 2011


On 11/28/2011 01:27 PM, Michael Meeks wrote:
> 	Sure - which is why we'd do that for old compiler versions only

...where it would still result in undefined behaviour, technically (note 
the "nitpick," was meant somewhat tongue-in-cheek).

> 	final    bool methodFoo();
> 	virtual  char methodBaz();
> 	override int  methodBaa();

(Note that final and override go at the end of the declaration.)

Stephan


More information about the LibreOffice mailing list