回复:一个c++的技术问题,请各位指点....

我从Mark Joshi的书上看到:The rule of three. It says that if we need any one of copy constructor, destructor and assignment operator then we need all three.

所有跟帖: 

C++要仔细manage resources, 比如memory, file, connection -东渡。- 给 东渡。 发送悄悄话 东渡。 的博客首页 (216 bytes) () 11/14/2007 postreply 07:28:10

非常实用, thanks. -fearcpatest- 给 fearcpatest 发送悄悄话 (0 bytes) () 11/14/2007 postreply 10:15:42

多谢,不过不是很明白... -澳洲老土- 给 澳洲老土 发送悄悄话 (429 bytes) () 11/14/2007 postreply 13:45:17

请您先登陆,再发跟帖!