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

Add template functions to return references from QVariants

    XMLWordPrintable

Details

    Description

      QVariant::value() makes an implicit copy of the variant's data, making it impossible to modify the data in the variant after the variant has been created.

      It would be nice if template functions were added to QVariant that returns references for the variant's data so the data can be modified.

      Attachments

        Issue Links

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

          Activity

            People

              stormols Marius Storm-Olsen
              sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes