Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-99122

std::aligned_{storage,union} are deprecated in C++23

XMLWordPrintable

    • 2
    • 277c23956c (qt/qtbase/dev) 277c23956c (qt/tqtc-qtbase/dev) 53173a493b (qt/qtbase/6.3) 53173a493b (qt/tqtc-qtbase/6.3) 6f5d6373c9 (qt/tqtc-qtbase/6.2), a8df9a20a (tqtc/lts-6.2)
    • Team B Foundation Sprint 56

      See https://github.com/cplusplus/papers/issues/197 and wg21.link/p1413

      Suggested replacements:

      struct { alignas(T) unsigned char data[sizeof(T)]; } x;
      // or
      union { char dummy; T t; } x;
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mmutz Marc Mutz
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes