Redian新闻
>
[合集] C++问题(copy constructor)
avatar
[合集] C++问题(copy constructor)# Programming - 葵花宝典
s*0
1
I-140 e-File之后网上的状态更新为啥会出来 fingerprint fee?
On January 18, 2013, we received the fingerprint fee for this I140 IMMIGRANT
PETITION FOR ALIEN WORKER. The case is now properly filed and we have
mailed you a notice describing how we will process your case. Please follow
any instructions on this notice. You will be notified by mail when a
decision is made, or if the office needs something from you. This case will
be put into the process based on the date we received the fingerprint fee.
If you move while this case is pending, please use our Change of Address
online tool to update your case with your new address or contact our
customer service center at 1-800-375-5283
avatar
c*d
2
☆─────────────────────────────────────☆
geome (Derivative) 于 (Sat Jun 16 16:21:11 2007) 提到:
#include
using namespace std;
class A{
public:
A(){}
A(A& a){cout<};
A func(A a){
return a;
}
int main(){
A a;
A b=func(a);
return 1;
}
不能编译.
但是如果把 A b=func(a);换成func(a);就可以了.
或者把 A(A& a)换成A(const A& a)也可以编译通过.
按照第二个办法来看,compiler怕A b=func(a)改变了func里面的临时变量,但是func(a)
也会产生同样
的问题啊???不明白...
☆─────────────────────────────────────☆
std (解不了名缰系嗔贪) 于 (Sat Jun 16 17:42:48 2007)
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。