Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
Description
qtypeinfo.h currently includes heavy headers like variant, optional and tuple. However, those are only needed for the traits in namespace QTypeTraits, which are rarely used.
For QTypeInfo, we only really need type_traits, though. Moreover, Q_DECLARED_SHARED needs even less: only a forward declared QTypeInfo class, and the enum with the typeinfo flags.
It therefore makes sense to split the header/move parts out of it.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-101870 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
401167,8 | Split qtypetraits out of the qtypeinfo header again | dev | qt/qtbase | Status: DEFERRED | +1 | 0 |