C
Christopher Benson-Manica
(if this is a FAQ, I apologize - I didn't see it)
I have the following class declaration:
class TMSViewDayList : public TMSViewDayListBase {
public:
uint start;
uint end;
TMSViewDayList() : start(0),end(0) {}
};
TMSViewDayListBase is a template class that acts something like a vector. My
question is, is TMSViewDayListBase's default constructor implicitly called
here, or do I need to explicitly call it like
TMSViewDayList() : start(0),end(0),TMSViewDayListBase() {}
?
I have the following class declaration:
class TMSViewDayList : public TMSViewDayListBase {
public:
uint start;
uint end;
TMSViewDayList() : start(0),end(0) {}
};
TMSViewDayListBase is a template class that acts something like a vector. My
question is, is TMSViewDayListBase's default constructor implicitly called
here, or do I need to explicitly call it like
TMSViewDayList() : start(0),end(0),TMSViewDayListBase() {}
?