T O P I C R E V I E W |
jwiesemann |
Posted - Sep 22 2009 : 11:07:09 AM Hi!
When working with nested namespaces a using namespace inside an outer namespace is not completely recognized by VA.
Minimum example:
namespace library { namespace mathfunctions { void test(void); }
using namespace mathfunctions; }
void test1(void) { library::test(); }
When moving the cursor to test inside of test1 VA doesn't show a declaration in the navigation bar and says "Refatoring not available on symbol".
(Find references on test (inside mathfunctions) does find the call in test1.)
VA_X.dll file version 10.5.1727.0 built 2009.06.12 Same behavior under VC++ 6.0 and 2008.
Joachim |
2 L A T E S T R E P L I E S (Newest First) |
support |
Posted - May 12 2011 : 12:42:17 AM case=8809 is fixed in build 1848 |
feline |
Posted - Sep 24 2009 : 1:14:12 PM I am seeing the same effect here. Thank you for the clear description. I think this is covered by:
case=8809
currently it is possible to confuse VA with namespaces, as this code shows. If you edit the file with the function "test1" in it, then "test" on the line "library::test()" will be underlined as a mistyped symbol, which is why refactoring and other commands are not working correctly on it.
Underlining of mistyped symbols does not trigger until you edit the file, as an optimisation, which is why you are probably not seeing the underlining at first. |