Merge pull request #4979 from singularperturbation/doc_ptr
(minor) Doc change for #3130
This commit is contained in:
commit
d4c35da470
1 changed files with 2 additions and 1 deletions
|
|
@ -716,7 +716,8 @@ untraced references are *unsafe*. However for certain low-level operations
|
||||||
(accessing the hardware) untraced references are unavoidable.
|
(accessing the hardware) untraced references are unavoidable.
|
||||||
|
|
||||||
Traced references are declared with the **ref** keyword, untraced references
|
Traced references are declared with the **ref** keyword, untraced references
|
||||||
are declared with the **ptr** keyword.
|
are declared with the **ptr** keyword. In general, a `ptr T` is implicitly
|
||||||
|
convertible to the `pointer` type.
|
||||||
|
|
||||||
An empty subscript ``[]`` notation can be used to derefer a reference,
|
An empty subscript ``[]`` notation can be used to derefer a reference,
|
||||||
the ``addr`` procedure returns the address of an item. An address is always
|
the ``addr`` procedure returns the address of an item. An address is always
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue