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
 [1727] Intellisense problem with template
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

horeaper
Senior Member

Singapore
49 Posts

Posted - Jul 23 2009 :  04:37:10 AM  Show Profile  Reply with Quote
For example, declare a template class like below:

template<typename _Tx, UINT uCount = 1024>
class TestClass
{
public:
	void UserFunction(UINT uParam)
	{
		wcout << uParam << endl;
	}

private:
	_Tx tValue;
};

And use this class somewhere:

TestClass<int, 12345> myClass

Then I type the following code:

myClass.

After the dot, select "UserFunction" from the list box, and the tooltip window shows this function as "void UserFunction(12345 uParam){...}". I'm sure this is wrong XD.

My life for Aiur!!!

Edited by - horeaper on Jul 23 2009 8:58:33 PM

horeaper
Senior Member

Singapore
49 Posts

Posted - Jul 23 2009 :  04:43:05 AM  Show Profile  Reply with Quote
Here, picture, hope you guys can see it...

My life for Aiur!!!

Edited by - horeaper on Jul 23 2009 8:58:50 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jul 27 2009 :  6:58:38 PM  Show Profile  Reply with Quote
So far I cannot reproduce this problem.

Can you please go to:

VA Options -> System Info -> Copy Info

and paste the details (from the clipboard) into your reply. This will give us the basic information about your setup.

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

horeaper
Senior Member

Singapore
49 Posts

Posted - Jul 27 2009 :  10:20:28 PM  Show Profile  Reply with Quote
VA_X.dll file version 10.5.1727.0 built 2009.06.12
Licensed to:
VA X: horeaper
VA.NET 7.1: horeaper
DevEnv.exe version 9.0.30729.1
msenv.dll version 9.0.30729.1
Font: Youyuan 13(Pixels)
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 S
Single processor (x86)

Platform: Win32
Stable Includes:
D:\\Microsoft DirectX SDK (August 2008)\\Include;
E:\\Visual C++ Environment\\include;
D:\\Microsoft Visual Studio 9.0\\VC\\include;
D:\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;

Other Includes:

Stable Source Directories:
D:\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfc;
D:\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfcm;
D:\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\atl;
D:\\Microsoft Visual Studio 9.0\\VC\\crt\\src;

----------
I found this problem in 2005 SP1, and it's still exist in 2008 SP1 which I installed recently.

My life for Aiur!!!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jul 28 2009 :  6:41:56 PM  Show Profile  Reply with Quote
Very strange, I am seeing the same problem now. I am not sure what I did wrong the first time:

case=3115

zen is the art of being at one with the two'ness
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