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

Implement emplace* methods for QVector

    XMLWordPrintable

Details

    • All
    • f19fbbdb2f5a3dbf3bac7cdbb4f7e8efe34f1e0d

    Description

      There are no methods to construct elements in-place, such as "emplace" and "emplace_back".

      The steps (sub tasks) for this user story should be:

      1. Investigate if this is possible and makes sense (If you have already done this investigation, feel free to share!)
      2. Implement "emplace"-like method to create an element at a given position in a vector (std::vector::emplace)
      3. Implement "emplace_back"-like method to create an element at the end of a vector (std::vector::emplace_back)
      4. Add unit tests and documentation for all cases

      Attachments

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

        Activity

          People

            vitaly.fanaskov Vitaly Fanaskov
            vitaly.fanaskov Vitaly Fanaskov
            Maurice Kalinowski Maurice Kalinowski
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes