Reference Variables
This lesson explains some terminology used with reference variables and the use of the ref keyword.
We'll cover the following...
Terminology #
We have frequently used the phrase “provide access to” throughout the course. For example, slices and associative arrays do not own any elements but provide access to elements that are owned by the D runtime. Another phrase, identical in meaning, is “being a reference of” as in “slices are references of zero or more elements.” This is sometimes also used as “this slice references two elements.” Finally, the act ...