What is The Rule of Three?
摘要:
This is a excellent article aboutdestructor, copy constructor and copy assignment operator.Original text ishttp://stackoverflow.com/questions/4172722/what-is-the-rule-of-three.IntroductionC++ treats variables of user-defined types withvalue semantics. This means that objects are implicitly copied .. 阅读全文
posted @ 2012-06-26 07:25 深圳彦祖 阅读(401) 评论(0) 推荐(0) 编辑