summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-10-06 22:33:57 +0200
committerLars Knoll <lars.knoll@qt.io>2018-12-10 08:13:58 +0000
commitfc85a6b6b952aa619b87262d4187dc05865ab51a (patch)
treec4e488840e32c970ffb11bc28b466c10f9df94d3 /src/plugins/platforms/eglfs/deviceintegration/eglfs_kms
parentba304af284f4cbb579d35046c0cf4c1537af0fec (diff)
QTypeInfo: use C++11 type traits to deduce if a type is static or complex
All types that can be trivially copied and destructed are by definition relocatable, and we should apply those semantics when moving them in memory. Types that are trivial, are by definition not complex and should be treated as such. [ChangeLog][QtCore] Qt Containers and meta type system now use C++11 type traits (std::is_trivial, std::is_trivially_copyable and std::is_trivially_destructible) to detect the class of a type not explicitly set by Q_DECLARE_TYPEINFO. (Q_DECLARE_TYPEINFO is still needed for QList.) Done-with: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> Change-Id: Iebb87ece425ea919e86169d06cd509c54a074282 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/eglfs/deviceintegration/eglfs_kms')
0 files changed, 0 insertions, 0 deletions