Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
-
3
Description
Q_APPLICATION_STATIC obviously started out as an (out-of-date, by now) copy of Q_GLOBAL_STATIC, but since then there's massive divergence between the two. E.g. Q_G_S was ported away from std::aligned_* (QTBUG-99122) while Q_A_S still uses it, causing QTBUG-107569.
Identify the differences between the two, then decide how we can share the implementation between the two (hint: Policy-Based Design).
Acceptance criteria: qapplicationstatic.h is DRY w.r.t. qglobalstatic.h
Attachments
Issue Links
- resulted from
-
QTBUG-107569 Use of std::aligned_union and std::aligned_union_t deprecated in C++23
- Closed