Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26468

Create implementations for Member functions implements pure virtual methods

    XMLWordPrintable

    Details

    • Platform/s:
      All
    • Commits:
      49a8b021d968877c29c74833cefca8ed574f1cf9 (qt-creator/qt-creator/6.0)

      Description

      When using "Create implementations for Member functions" then pure virtual member functions are also implemented:

      // Not ok:
      virtual bool method1(bool doCheck) = 0;
      
      // cpp:
      bool MyClass::method1(bool doCheck)
      {}
      
      // Ok:
      virtual bool method2(bool doCheck);
      
      // cpp:
      bool MyClass::method2(bool doCheck)
      {}
      
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            DanielSt Peter Staab
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes