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

Make all objects of static or thread_local storage-duration that can be constinit be Q_CONSTINIT [QtDeclarative]

XMLWordPrintable

      Like constexpr, it ensures that no dynamic initialisation can take place, which means it doesn't interfere (as much) with program startup. Unlike constexpr, constinit objects aren't implicitly const. constinit therefore acts as a static assertion that an object doesn't require dynamic initialisation.

       

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

            qtqmlteam Qt Qml Team User
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes