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
 Problem selecting . instead of ->
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dango
Junior Member

20 Posts

Posted - Jan 29 2007 :  5:04:58 PM  Show Profile  Reply with Quote
Hi Using build 1544 with vs 2003:

#include <vector>

using namespace std;
class TestClass
{
public:
int myInt;
};
void TestFunc()
{
std::vector<TestClass> stuff(100);
for (int i=0; i < (int) stuff.size(); ++i)
{
TestClass& curTest = stuff[i];

curTest
}
}

Type a '.' after curTest and VA incorrectly turns it into a "->"

Thanks,
DanGo

feline
Whole Tomato Software

United Kingdom
18952 Posts

Posted - Jan 30 2007 :  07:56:40 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description. In my testing if curTest is initialised to point at something other than an array item then this does not happen, which is good.

case=4795

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Mar 17 2007 :  4:07:00 PM  Show Profile  Reply with Quote
Case 4795 is fixed in build 1549.
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