my interview questions

I had an interview yesterday. I did not answer two questions well:

Why is it a bad idea throwing an exception in a destructor?

Why adding static members to a class does not increase the size of instance of that class?

what could be the correct and complete answers? thanks

Liu

所有跟帖: 

回复:my interview questions -TheAnswers- 给 TheAnswers 发送悄悄话 (513 bytes) () 05/25/2005 postreply 07:16:00

C++ ? -跟贴- 给 跟贴 发送悄悄话 (0 bytes) () 05/25/2005 postreply 07:23:03

请您先登陆,再发跟帖!