File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
source/learn/oop_features_in_fortran Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -151,9 +151,9 @@ to be aware of:
1511511 . If all type components have the ` private ` attribute i.e., the type
152152 is ** opaque** (not a Fortran term), it can only be used if the type
153153 declaration is accessed by host association (this is the same as for
154- nonallocatable/nonpointer components);
155- 2 . especially for container-like types, its semantics may be
156- incompatible with the programmers intentions for how the objects
154+ nonallocatable/nonpointer components).
155+ 2 . Especially for container-like types, its semantics may be
156+ incompatible with the programmer's intentions for how the objects
157157 should be used.
158158
159159Item 2 is illustrated by the above object setups, specifically:
@@ -479,7 +479,7 @@ case of polymorphic objects.
479479### Implementing move semantics
480480
481481Sometimes it may be necessary to make use of move instead of copy
482- semantics i.e., create a copy of an object and then getting rid of the
482+ semantics i.e., create a copy of an object and then get rid of the
483483original. The simplest way of doing this is to make use of allocatable
484484(scalar or array) objects,
485485
You can’t perform that action at this time.
0 commit comments