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

Problem with nested templates in function declaration completion

XMLWordPrintable

    • d510aaa02952689a3ce6f27b2d786148ce27e665

      Reported here: http://lists.trolltech.com/pipermail/qt-creator/2009-December/005488.html

      Due to missing a space between >>, the following example leads to completion of invalid code:

      class A {
          void foo(QVector<QVector<float> > &bar);
      };
      

      Using the autocomplete of the function arguments in the implementation will yield:

      void A::foo(QVector<QVector<float>> &bar);
      

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

            raggi Roberto Raggi
            lindeije Thorbjørn Lindeijer (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes