> On Mar 10, 2015, at 09:11, Przemyslaw Gorszkowski <[email protected]> > 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 <[email protected]> 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 > [email protected] > http://lists.qt-project.org/mailman/listinfo/qt-creator > > > > -- > Best regards/Pozdrawiam > > Przemyslaw Gorszkowski > _______________________________________________ > Qt-creator mailing list > [email protected] > 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 _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
