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
 1614 bug w/ const references
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

cbranch
Senior Member

USA
30 Posts

Posted - Nov 07 2007 :  11:46:51 AM  Show Profile  Reply with Quote
First something positive, the new VA outline is awesome!

However this bug is quite annoying. I've only noticed it w/ strings and vectors so I think it has to do w/ stl templated classes.

#include <string>

std::string doSomething(const std::string& text)
{
//No intellisense on text & VA view shows nothing on text
}

I've seen the same thing w/ vectors.

It definitely seems to be related w/ both the reference and const.

W/ a reference only Va View shows nothing, but I do get intellisense.
W/ a const(or volatile) Va View shows something (though it takes a number of seconds), but I often do not get intellisense.
W/ both, I get nothing.

I modified the stdafx for Qt (ie define signals and slots) but I can't think that has any effect. I'm using VS2003.

I'd love for a new beta so I don't have to give up the outline.
Thanks,
Colin

Colin Branch

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Nov 07 2007 :  1:28:37 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=9784

You seem to be tying this to the new beta. Is this a new problem for you? I am seeing this problem in both VA 1561 and VA 1614.

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

cbranch
Senior Member

USA
30 Posts

Posted - Nov 08 2007 :  1:27:51 PM  Show Profile  Reply with Quote
I don't recall seeing it in 1561, and if you're seeing it I don't want to rollback. I only recently started writing some language parsing code which used std::string and I found this problem. Over the last year or so that stl class support has gotten allot better, I just found it a little strange that the const ref modifies would actually effect symbol lookup, so I figured it was a beta bug, if not oh well, it'll get fixed when it gets fixed.

Colin Branch
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jan 18 2008 :  11:08:40 AM  Show Profile  Reply with Quote
case=9784 is fixed in build 1626
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