View Single Post
  #1 (permalink)  
Old May 4th, 2005, 03:11 PM
yengzhai yengzhai is offline
Authorized User
 
Join Date: Nov 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Constructor problem

Suppose I have derived class of:

Code:
class myDerivedClass : public myBaseClass
{
public:
    myDerivedClass(int a, int b) : myBaseClass(x, y) {} // line 4

... // other members from here
...
}
Can anyone tell me whether the line 4 syntax is correct, and if it does, what does it means? Thanks.



yengzhai
__________________
yengzhai
Reply With Quote