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

Code completion does not work for templates with arguments with default value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • Qt Creator 2.7.1
    • Qt Creator 2.6.1
    • C/C++/Obj-C++ Support
    • None
    • ubuntu 12.04

    Description

      Example:

      struct Foo
      {
          int bar;
      };
      template <typename T = Foo>
      struct TemplateStruct
      {
          T t;
      };
      
      {
      TemplateStruct<> templateStruct;
      templateStruct.t. //code completion does not work
      }
      {
      TemplateStruct<Foo> templateStruct;
      templateStruct.t. //code completion works
      }
      

      Attachments

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

        Activity

          People

            erikv Erik Verbruggen
            pgorszkowski Przemyslaw Gorszkowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes