This question already has answers here: 开发者_StackOverflow社区 What is this weird colon-member (" : ") syntax in the constructor?
This is a problem I come across often. The following examples illustrates it: struct A { int m_SomeNumber;