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

Template arguments not preserved when using "Add definition..."

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 3.0.0-rc1, Qt Creator 3.1.0-beta
    • C/C++/Obj-C++ Support
    • None
    • Build from: 84576b1680387df369211358a0d523142cc9b726

      I have Qt Creator build from 84576b1680387df369211358a0d523142cc9b726

      foo.hpp:

      #include <vector>
      class Foo {
        public:
          std::vector<int>::size_type getSize();
      }
      

      Now I use "Add definition <Whatever>" and get:

      std::vector::size_type Foo::getSize()
      {
      	
      }
      

      Looks like a regression; see: QTCREATORBUG-6784

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

            kosjar Nikolai Kosjar
            slither Jakub Zakrzewski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes