(if this is a FAQ, I apologize - I didn't see it)
I have the following class declaration:
class TMSViewDayList : public TMSViewDayListB ase {
public:
uint start;
uint end;
TMSViewDayList( ) : start(0),end(0) {}
};
TMSViewDayListB ase is a template class that acts something like a vector. My
question is, is TMSViewDayListB ase's default constructor implicitly called
here, or do I need to explicitly call it like
TMSViewDayList( ) : start(0),end(0) ,TMSViewDayList Base() {}
?
--
Christopher Benson-Manica | Upon the wheel thy fate doth turn,
ataru(at)cybers pace.org | upon the rack thy lesson learn.
I have the following class declaration:
class TMSViewDayList : public TMSViewDayListB ase {
public:
uint start;
uint end;
TMSViewDayList( ) : start(0),end(0) {}
};
TMSViewDayListB ase is a template class that acts something like a vector. My
question is, is TMSViewDayListB ase's default constructor implicitly called
here, or do I need to explicitly call it like
TMSViewDayList( ) : start(0),end(0) ,TMSViewDayList Base() {}
?
--
Christopher Benson-Manica | Upon the wheel thy fate doth turn,
ataru(at)cybers pace.org | upon the rack thy lesson learn.
Comment