¡@

Home 

c# Programming Glossary: m_pthing

Is the destructor called if the constructor throws an exception?

http://stackoverflow.com/questions/188693/is-the-destructor-called-if-the-constructor-throws-an-exception

in some way. For example struct Class Class ~Class Thing m_pThing Object m_aObject Gizmo m_pGizmo Data m_aData Class Class this.. m_aObject Gizmo m_pGizmo Data m_aData Class Class this m_pThing new Thing this m_pGizmo new Gizmo The order of creation will.. Class constructor is called Inside Class constructor m_pThing will have its new and then constructor called. Inside Class..