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

Add template functions to return references from QVariants

XMLWordPrintable

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes