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

decltype in type alias declaration marked as error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • Qt Creator 3.1.0-beta
    • C/C++/Obj-C++ Support
    • None
    • Ubuntu 13.10 x86_64

    Description

      When introducing a type alias, either by using a typedef or a using declaration, and decltype, the editor marks the corresponding line as erroneous.

      Examples:

      std::vector<int> v;
      typedef decltype(v)::value_type ValT; // red squiggly lines here ...
      using ValT = decltype(v)::value_type; // ... and here
      

      Attachments

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              thokra Thomas Kranz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes