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

Experiment with {{extern template class}}'ing common QtCore templates

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • None

    Description

      Example:

      extern template class QList<QString>; // header
      template class QList<QString>; // .cpp
      

      This will avoid instantiating QStringList in every TU.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes