minor update of the manual
This commit is contained in:
parent
604a15c0aa
commit
1053c808aa
1 changed files with 3 additions and 3 deletions
|
|
@ -570,7 +570,7 @@ order. The *names* of the fields also have to be identical.
|
||||||
|
|
||||||
The assignment operator for tuples copies each component.
|
The assignment operator for tuples copies each component.
|
||||||
The default assignment operator for objects copies each component. Overloading
|
The default assignment operator for objects copies each component. Overloading
|
||||||
of the assignment operator is described in `type-bound-operations-operator`_.
|
of the assignment operator is described in `type-bound-operations-operator`_.
|
||||||
|
|
||||||
.. code-block:: nim
|
.. code-block:: nim
|
||||||
|
|
||||||
|
|
@ -905,8 +905,8 @@ not compatible to ``pointer`` to prevent the following from compiling:
|
||||||
Future directions:
|
Future directions:
|
||||||
|
|
||||||
* Memory regions might become available for ``string`` and ``seq`` too.
|
* Memory regions might become available for ``string`` and ``seq`` too.
|
||||||
* Builtin regions like ``private``, ``global`` and ``local`` will
|
* Builtin regions like ``private``, ``global`` and ``local`` might be
|
||||||
prove very useful for the upcoming OpenCL target.
|
useful for an OpenCL target.
|
||||||
* Builtin "regions" can model ``lent`` and ``unique`` pointers.
|
* Builtin "regions" can model ``lent`` and ``unique`` pointers.
|
||||||
* An assignment operator can be attached to a region so that proper write
|
* An assignment operator can be attached to a region so that proper write
|
||||||
barriers can be generated. This would imply that the GC can be implemented
|
barriers can be generated. This would imply that the GC can be implemented
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue