Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 [1727] Intellisense problem with template

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
horeaper Posted - Jul 23 2009 : 04:37:10 AM
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.
4   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 28 2009 : 6:41:56 PM
Very strange, I am seeing the same problem now. I am not sure what I did wrong the first time:

case=3115
horeaper Posted - Jul 27 2009 : 10:20:28 PM
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.
feline Posted - Jul 27 2009 : 6:58:38 PM
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.
horeaper Posted - Jul 23 2009 : 04:43:05 AM
Here, picture, hope you guys can see it...

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