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
 VAX 1228: explicitly calling base class ctor
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Apr 13 2004 :  7:19:03 PM  Show Profile
When declaring a constructor inline, which calls a base class constructor explicitly, then the HCB shows the constructor as SomeClass() : SomeBaseClass() instead of SomeClass()

e.g.:
class SomeClass() : public SomeBaseClass
{
public:
  SomeClass() : SomeBaseClass(),
    memberx(0), membery(1)
  { ... some more code ... }
}
  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