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

QRandom is missing std::launder()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.15.12, 6.2.6, 6.4.2, 6.5.0 Beta2
    • None

    Description

      See epic for more information.

      The QRandom implementation is using a hand-rolled version of std::aligned_storage, so falls into the "std::optional" pattern and needs a std::launder().

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes