[Qt-creator] C++11 in Creator's source: Update required features

Przemyslaw Gorszkowski pgorszkowski at gmail.com
Tue Mar 10 09:11:58 CET 2015


Regarding to "override" keyword: I would suggest to add rule here that
"virtual" should be used only in base class. In derived class we should use
only "override".

On Mon, Mar 9, 2015 at 5:34 PM, Guido Seifert <wargand at gmx.de> wrote:

>
> Not sure about gcc, but with clang it is very easy to be consistent. Mark
> one function with 'override' and
> you get a warning when you miss to put this keyword on all overridden
> functions in this class.
>
> Guido
>
>
> >      2) Make sure derived classes are consistent in their use of the
> > keyword, i.e. don't have overridden functions with and without the
> > keyword in the same class.
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>



-- 
Best regards/Pozdrawiam

Przemyslaw Gorszkowski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20150310/45df9d19/attachment.html>


More information about the Qt-creator mailing list