summaryrefslogtreecommitdiffstats
path: root/examples/gui
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2023-03-23 10:12:10 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2023-06-02 09:13:08 +0200
commitf564e905c1c258691603694aaa70303b029e4598 (patch)
treeed4e6da24fa75c6df7bf400e01535cdde87b506d /examples/gui
parent18a2c62c073371ab24685d0f98b4b0cc04d11a7e (diff)
QVariant: Support emplace
[ChangeLog][QtCore][QVariant] Implemented in-place construction for QVariant. The constructor taking std::in_place_type<Type> constructs an object of type Type directly inside QVariant's storage, without any further copy or move operations. QVariant::emplace() does the same when replacing the content of an existing QVariant and tries to reuse previously-allocated memory. Fixes: QTBUG-112187 Change-Id: I16614ad701fa3bb583976ed2001bb312f119a51f Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'examples/gui')
0 files changed, 0 insertions, 0 deletions