c++ - What is this odd thing after the colon in a C++constructor definition? -
possible duplicate:
what weird colon-member syntax in constructor?
i need know code means:
cman::cman() : m_pthread (null) //m_pthread pointer other class { } i don't understand code. null mean ? can use regular constructor ?
it says initialize m_pthread null before code inside constructor executed.
Comments
Post a Comment