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

Auto indentation is broken when I use templated default template parameter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • Qt Creator 3.1.0-rc1
    • Qt Creator 2.8.0-beta
    • C/C++/Obj-C++ Support
    • None
    • Windows 7 Mingw gcc 4.8.0
    • 5510ec0552001e12706e20ab6919a57ac2717726

       
      template <class A = std::vector<int> >
      class C{
      
      };
      

      The auto completion for the above code works fine. However, that of the following code does not.

       
      template <class A = std::vector<int>> // <-- note that there is no white space between >'s.
      class C{
      
      };
      

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

            kosjar Nikolai Kosjar
            sungmin817 Sungmin Hwang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes