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:
151
151
1 . If all type components have the ` private ` attribute i.e., the type
152
152
is ** opaque** (not a Fortran term), it can only be used if the type
153
153
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
157
157
should be used.
158
158
159
159
Item 2 is illustrated by the above object setups, specifically:
@@ -479,7 +479,7 @@ case of polymorphic objects.
479
479
### Implementing move semantics
480
480
481
481
Sometimes 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
483
483
original. The simplest way of doing this is to make use of allocatable
484
484
(scalar or array) objects,
485
485
You can’t perform that action at this time.
0 commit comments