又怎样用???
1190| 5
|
这两个什么区别?? |
原帖由 ~Zero 于 2009-8-8 02:26 PM 发表
看是什么用途, 没有说好用不好用的.
通常你 copy 一个 array 之类的 data structure,
Array a;
Array b;
b = a;
by default 是 shallow copy 罢了, 就是说其实 compiler/interpreter 只是把 b 的 ad ...
JBTALKS.CC |联系我们 |隐私政策 |Share
GMT+8, 2025-3-11 03:30 AM , Processed in 0.114455 second(s), 25 queries .
Powered by Discuz! X2.5 © 2001-2012 Comsenz Inc.
本论坛言论纯属发表者个人意见,与本论坛立场无关
Copyright © 2003-2012 JBTALKS.CC All Rights Reserved
Dedicated Server powered by iCore Technology Sdn. Bhd.