If we have a rvalue reference to an unshared QVariant, we can avoid potentially expensive copies, and use move semantics instead. [ChangeLog][QtCore][QVariant] Added rvalue QVariant overloads of qvariant_cast<T>() and QVariant::value<T>(). [ChangeLog][Potentially Source-Incompatible Changes][QVariant] It is no longer possible to take the address of a specialization of qvariant_cast; consider using a lambda function instead. Change-Id: Ifc74991eadcc31387b755c45484224a3200bb0ba Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> |
||
|---|---|---|
| .. | ||
| qtconcurrentfilter | ||
| qtconcurrentfiltermapgenerated | ||
| qtconcurrentiteratekernel | ||
| qtconcurrentmap | ||
| qtconcurrentmedian | ||
| qtconcurrentrun | ||
| qtconcurrenttask | ||
| qtconcurrentthreadengine | ||
| CMakeLists.txt | ||
| testhelper_functions.h | ||