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

請您先登陸,再發跟帖!