However, you must be aware that these alternatives change the semantics of the interaction from pass-by-value to pass-by-reference.
然而,您必须注意到这些可供选择的方案会将交互方法从按值传递(pass - by - value)改变为按引用传递(pass - by - reference)。
Use pass-by-reference only if you have to.
必要时才使用引用变量参数传递。
Pass-by-reference semantics is maintained across multiple distributed nodes.
在多个分布式节点间保持了Pass - by - reference语义。
If an object created by a thread needs to do allocation internally, you must pass a reference to the thread itself to the object so that the allocate methods can be called when needed.
如果线程创建的对象需要在内部执行分配,您必须将对线程本身的引用传递给对象以便在需要时能够调用allocate方法。
The ORB pass by reference option will only provide a benefit when the EJB client (that is, servlet) and invoked EJB module are located within the same classloader.
仅当EJB客户机(即servlet)和所调用的 EJB模块位于相同的类加载器中时,ORB通过引用传递选项才能够带来收益。
Describes how to pass strings by value, by reference, in structures, in classes, and in arrays.
描述如何通过值、通过引用、在结构中、在类中和在数组中传递字符串。
In Listing 6, the connector can either pass the result inline or by reference.
在清单6中,连接器可以以内联或引用的方式传递结果。
Your normal habit when passing an argument to a function should be to pass by const reference.
用常量引用给一个函数传递参数,是一种好的习惯。
By enabling pass by reference, the parameters of the method are not copied to the stack with every remote call, which can be expensive.
通过引用传递,方法的参数没有被复制到每个远程调用的堆栈中,而这个复制过程可能是代价高的。
The Object Request Broker (ORB) pass by reference option determines if pass by reference or pass by value semantics should be used when handling parameter objects involved in an EJB request.
ObjectRequestBroker (ORB)通过引用传递选项确定,在处理EJB 请求中涉及的参数对象时应该使用通过引用传递还是通过值传递语义。
PHP 4 added the ability to pass and return by reference.
PHP4添加了基于引用的传递和返回功能。
Describes how to pass multidimensional arrays of integers by value and how to pass one-dimensional arrays by reference.
描述如何通过值传递多维整数数组以及如何通过引用传递一维数组。
Your normal habit when passing an argument to a function should be to pass by const reference.
当给函数传递参数时,你要养成的良好习惯是传递常量引用。
The enable-call-by-reference element is generally used to pass parameters by reference rather than by value, which requires making a copy of the parameters.
enable-call-by-reference元素通常用于按引用传递参数,而不是按值传递,后者需要对参数做复制。
The enable-call-by-reference element is generally used to pass parameters by reference rather than by value, which requires making a copy of the parameters.
enable-call-by-reference元素通常用于按引用传递参数,而不是按值传递,后者需要对参数做复制。
应用推荐