Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

browse symbols + namespaces = problem

0 views
Skip to first unread message

Henrique Bucher

unread,
Nov 26, 2002, 4:18:57 PM11/26/02
to
I've tried to find all functions that reference one specific function:

Street::Traffic::BuildTurn( const Street::TurnID& )

"Street" is a namespace, "Traffic" is the class and "BuildTurn()" is
the function.

Using the object browser, I can select BuildTurn() and then issue a
Quick Find Symbol. But the Find Symbols Result window says that this
function is not referenced anywhere. I know it does because I can stop
at the beginning of it with a breakpoint.

Then I added manually (with Customize...) the bsc file to the browser
list and - voila' - the browser showed TWO functions:

Street::Traffic::BuildTurn( const Street::TurnID& );
Traffic::BuildTurn( const TurnID& );

The first item shows several references to it but the second (that
matches the original at the browser) says exactly as before - no
references.

My guess is that the browser tool has a problem with namespaces. Is
that right?

Henrique

Visual C++ Team

unread,
Nov 27, 2002, 2:16:03 PM11/27/02
to

Yes, you are right. The VC++ .NET browser does not handle namespaces very
well. We are fixing that in a future release.

Thanks,
--
Tarek Madkour
Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers no rights.

0 new messages