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
 VA X 1216: parameter mistaken as member
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Feb 18 2004 :  6:20:31 PM  Show Profile
typedef struct somestruct
{
	struct somestruct(LPDATA p=NULL) : pData(p), bModified(false)
	{
	};
 // some more functions

	LPDATA	pMap;
	mutable bool	bModified;
} SOMESTRUCT, *PSOMESTRUCT;

The completion list for this struct shows the following members
  • bModified
  • p
  • pMap
  • all function members
  • somestruct

As you can see, the "member p" is in reality the parameter for the constructor. Definitely wrong.
The HCB shows the correct definition (besides of the usual duplicates).
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000