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

"Add Definition" fails when invoked on move-constructor or move-assignment operators.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 3.0.0-rc1
    • C/C++/Obj-C++ Support
    • None

    Description

      Assume the following function declarations:

      Buffer(Buffer&& other);
      Buffer& operator=(Buffer&& other);
      

      When trying to have Qt Creator generate the implementation of the above functions, it will generate the lvalue-Ref versions, i.e. the copy-ctor and copy-assignment operator.

      Attachments

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              thokra Thomas Kranz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes