Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1614 bug w/ const references

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
cbranch Posted - Nov 07 2007 : 11:46:51 AM
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
3   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Jan 18 2008 : 11:08:40 AM
case=9784 is fixed in build 1626
cbranch Posted - Nov 08 2007 : 1:27:51 PM
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.
feline Posted - Nov 07 2007 : 1:28:37 PM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000