各位兄弟,问一个幼稚的问题,书上有个例子在函数定义时是这样的
Country::Country( const char* name, const char* populationStr );
而在实现时却这样:
Country::Country( const char* name, const char* populationStr )
   : m_name(NULL),
     m_lastTime(0.0),
     m_sendNameAttrUpdates(RTI::RTI_FALSE),
     m_sendPopulationAttrUpdates(RTI::RTI_FALSE)
后面多了几个参数,我想问一下这几个参数的意义,是继承的意思吗?