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

    • d14767a6afd949b0a1f5294c24482a4a00fd249f

      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.

        1. test.cpp
          0.1 kB
          Jan Erik Hanssen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes