最終更新日:2025/12/05
(programming) An evaluation strategy where arguments passed to a function can be mutated in a way that is visible to the caller (unlike call-by-value) but access is not given to the specific variables passed as arguments (unlike call-by-reference).
音声機能が動作しない場合はこちらをご確認ください
正解を見る
call by sharing
編集履歴(0)
元となった辞書の項目
call by sharing
名詞
不可算名詞
日本語の意味
プログラミングにおける評価戦略の一種で、関数に渡された引数が、関数内部で変更された場合にその変更が呼び出し元に反映される。ただし、その引数が特定の変数そのものではなく、参照するオブジェクトの値として渡されるため、関数内での変更は呼び出し側にも影響を与えるが、直接的な変数へのアクセスは許されない。