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

QVarLengthArray: Add move constructor and move assignement operator

XMLWordPrintable

    • ffb73175e6c5b35e6367c88479cc0bf160482016

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes