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

decltype in type alias declaration marked as error

XMLWordPrintable

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

      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
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes