Details
-
Suggestion
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
None
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
- resulted from
-
QTBUG-1187 Make QVariant::data() and ::constData() part of the public API
-
- Closed
-