The interviewer agreed my idea but pointed out besides the constructor, I also need to make copy constructor "protected", which I didn't do it.
It was a C++ interview,
The interviewer agreed my idea but pointed out besides the constructor, I also need to make copy constructor "protected", which I didn't do it.
所有跟帖:
•
why it needs a copy ctor? why make copy constructor "protected"
-戲雨飛鷹-
♀
(356 bytes)
()
03/05/2009 postreply
11:50:35
•
the interviewer said
-吳用先生-
♂
(186 bytes)
()
03/05/2009 postreply
12:31:48