File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
courses/fundamentals_of_ada/140_access_types Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,19 @@ Elaboration-Only Dynamic Allocation
7
7
-----------------------------------
8
8
9
9
* Common in critical contexts
10
- * Rationale
10
+ * Rationale:
11
11
12
- 1. We (might) need dynamically allocated date
12
+ 1. We (might) need dynamically allocated date
13
13
14
- - e.g. loading configuration data of unknown size
14
+ - e.g. loading configuration data of unknown size
15
15
16
- 2. Deallocations can cause leaks, corruption
16
+ 2. Deallocations can cause leaks, corruption
17
17
18
- - |rightarrow | **Disallow ** them entirely
18
+ - |rightarrow | **Disallow ** them entirely
19
19
20
- 3. A dynamically allocated object will needs deallocation
20
+ 3. A dynamically allocated object will needs deallocation
21
21
22
- - |rightarrow | Unless it never goes out of **scope **
22
+ - |rightarrow | Unless it never goes out of **scope **
23
23
24
24
* |rightarrow | Allow only allocation onto globals
25
25
You can’t perform that action at this time.
0 commit comments