Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Incorrect suggestions with namespace osg
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

alaviolette
New Member

2 Posts

Posted - Oct 06 2008 :  10:41:16 AM  Show Profile  Reply with Quote
When I have the sample code below in a basic C++ project and type Geometry:: I get a suggestion for _vertex and not Vertex. If I change the osg namespace to abc I correctly get Vertex. Does VA X do something special with the the osg namespace. I did not include osg in my test just the sample code.

namespace osg {
    class Geometry {
    public:
        double _vertex;
    };
};
namespace Geometry {
    class Vertex {
    public:
        double x,y;
    };

};


I have VS2005 and VA X 10.4.1640.0

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Oct 06 2008 :  3:15:32 PM  Show Profile  Reply with Quote
I tried your example and I get the right completion listbox with "Vertex" in VS2005/VAX1649.

Could you please try to upgrade to the latest version to see if this helps?

http://www.wholetomato.com/downloads/getBuild.asp?1649
Go to Top of Page

alaviolette
New Member

2 Posts

Posted - Oct 06 2008 :  3:54:10 PM  Show Profile  Reply with Quote
Yes that works. I did not realize I had an old version of Visual Assist installed.

Thanks.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000