Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-39111

QVarLengthArray: Add move constructor and move assignement operator

    XMLWordPrintable

Details

    • ffb73175e6c5b35e6367c88479cc0bf160482016

    Description

      Hi dear all,
      Would it be possible to add move constructor and move assignement operator to qVarLengthArray as it is already done for QVector?

      I join the piece of code that I add to my own 5.3.0 version and that I tested.

      More generally, std::vector now overloads operations such as insertion using move semantics. Is it planned to do the same for Qt containers?

      Thanks a lot for all the stuff that you do, it is so great!

      Cheers,

      Thibaud.

      Attachments

        Issue Links

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

          Activity

            People

              mmutz Marc Mutz
              tkloczko Thibaud Kloczko
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes