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
 support for STL iterators of shared_ptr
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

qba
New Member

2 Posts

Posted - Nov 05 2008 :  12:37:20 PM  Show Profile  Reply with Quote
I cannot make VAssistX (build 2008.09.09) understand iterators to vector, which contain shared_ptr

e.g.

for (vector<shared_ptr<ClientDefinition> >::const_iterator clientIter = m_ClientsDefinitions.begin();
clientIter != m_ClientsDefinitions.end();
++clientIter)
{
cout << (*clientIter)->IsDefault();
}

IsDefault() is underlined with red line (incorrect).

I trued to find a solution on forum for this problem and followed some suggestions:

- I added boost include to VAX Projects C/C++ Directories Stable include files
- I selected Get content from default Intellisense

Selecting this "Get content from default Intellisense" option at least solved the intellisense problem, now I have proper methods displayed. Without this option VAX was not able to get proper symbols for ClientDefinition class and instead was showing shared_ptr methods.

When VAX will be able to parse such construct nativity without VS Intellisense support?

Are there any other tricks I could try to make it work?

cheers
--jakub

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Nov 05 2008 :  4:48:44 PM  Show Profile  Reply with Quote
This is unfortunately a known issue:

case=8873
Go to Top of Page

qba
New Member

2 Posts

Posted - Nov 05 2008 :  6:05:44 PM  Show Profile  Reply with Quote
Thanks for the responce.

I'm finishing evaluating VAX and this is the only thing that stops me now from asking my manager to buy it.
When can we expect the fix (this year / next year / never) ?
Is there any service that will let me track opened cases myself?

Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Nov 06 2008 :  3:11:01 PM  Show Profile  Reply with Quote
This is down as a fairly urgent bug, but I do not have an estimate on when this will be fixed.

You can see fixed issues here:

http://www.wholetomato.com/support/history.asp

Edited by - accord on Nov 06 2008 3:36:21 PM
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