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

Creator doesn't understand usages of object when using declarations are involved

    XMLWordPrintable

Details

    • d14767a6afd949b0a1f5294c24482a4a00fd249f

    Description

      Creator does understand statements such as

      using namespace foo;

      but not statements such as

      using foo::bar;

      Example attached, the usage of the struct "b" in the function "d" is not considered a usage of "b". However, if you uncomment the "using namespace" statement then things starts working.

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            jhanssen Jan Erik Hanssen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes