Map
Index
Random
Help
Topics
th

Topic: parameter passing by value-result

topics > computer science > data > Group: parameters



Topic:
function results
Topic:
input or output parameters
Topic:
parameter passing by value
Topic:
parameter passing by reference
Topic:
remote procedure call
Topic:
shared objects

Summary

An interesting variation of call-by-value is call-by-value-result. This is call-by-value with results stored into the argument. In most cases, it will have the same effect as call-by-reference, but it avoids some of call-by-reference's aliasing problems. It is useful for remote procedure calls. (cbb 1/90)
Subtopic: value-result up

Quote: pass by value-result is copying a value at call and at return; if the actual was a constant or expression the result copy is omitted [»maclBJ_1987]
Quote: in call-by-value-result, location of actual result parameter should be determined after call
[»taikC2_1982]

Related Topics up

Topic: function results (7 items)
Topic: input or output parameters (5 items)
Topic: parameter passing by value (5 items)
Topic: parameter passing by reference (11 items)
Topic: remote procedure call (44 items)
Topic: shared objects
(13 items)

Updated barberCB 10/04
Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.