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

Decrease compile time impact of qtypeinfo.h

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Core: Other
    • 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

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

        Activity

          People

            cnn Qt Core & Network
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes