Makes a temporary copy of a pointer, executes a list of forms which may use and alter the copy of the pointer across the scope of the macro, and then deallocates the memory provided for the copy of the pointer.
A temporary name used to access a copy of pointer .
The type of the object pointed to by the temporary pointer. This keyword can be used to access the data at the pointer as a different type.
The pointer-type of the temporary pointer.
A FLI pointer of which a copy is made. The lifetime of the copy is across the scope of the
A list of forms to be executed across the scope of the temporary pointer binding.
makes a temporary copy of a pointer, and executes a list of forms which may use the copy across the scope of the macro. Once the macro has terminated the memory allocated to the copy of the pointer is automatically freed.
In the following example an array of ten integers is defined, pointed to by
. The macro
is used to return the values stored in the array, without altering
, or permanently tying up memory for a second pointer.