Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-17695

Add definition outside templated class

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 4.2.1
    • C/C++/Obj-C++ Support
    • Might be on all systems

    Description

      The Refactor function that adds an outside definition does not writes correctly the definition when inside a templated class and one of parameters is a template template parameter.
      2 problems:

      • it generates a typenamed parameter and not a template template parameter, just as it was defined.
      • the templated class scope does not contain its arguments

      I attached an example to test this behaivour.
      From the header file=>right click clear()=>Refactor=>Add definition outside class.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            q.quark Mihai Niculescu
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes