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
 No intellisense on templated return types.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

johnr
Starting Member

1 Posts

Posted - Jul 24 2009 :  06:39:26 AM  Show Profile  Reply with Quote
class A
{
public:
	int var;
};

class B
{
public:
	template<class T>
	T *Get()
	{
		return(new A());
	}
};

void main(void)
{
	B b;

	b.Get<A>()-> /* no intellisense here */
}



John.

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Jul 27 2009 :  6:44:40 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=30137

For now can you try turning on:

VA Options -> Advanced -> Listboxes -> Get content from default Intellisense

this fixes this specific problem for me.

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

support
Whole Tomato Software

5566 Posts

Posted - Jun 01 2012 :  8:55:15 PM  Show Profile  Reply with Quote
case=30137 is fixed in build 1908
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