阅读背景:

第7章 按值传递或按引用传递:7.2 按引用传递

来源:互联网 

7.2 Passing by Reference

7.2 按引用传递

 

Now let’s discuss the different flavors of passing by reference. In all cases, no copy gets created (because the parameter just refers to the passed argument). Also, passing the argument never decays. However, sometimes passing is not possible, and if passing is possible, there are cases in which the resulting type of the parameter may cause problems.Now l




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: