[Qt-creator] C++11 in Creator's source: Update required features
Ziller Eike
Eike.Ziller at theqtcompany.com
Tue Mar 10 09:21:36 CET 2015
> On Mar 10, 2015, at 09:11, Przemyslaw Gorszkowski <pgorszkowski at gmail.com> wrote:
>
> 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”.
Agreed.
>
> 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
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
--
Eike Ziller, Senior Software Engineer | The Qt Company
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
More information about the Qt-creator
mailing list