Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
Some future release
-
None
Description
I'd like to be able to directly manipulate values stored inside a QVariant, whithout having to copy the value in and out. For that, it would be cool if QVariant could expose a valueRef version of value, that returns a T& instead of a T. This would make cases where copying the value is expensive faster.