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
77-----------------------------------
88
99* Common in critical contexts
10- * Rationale
10+ * Rationale:
1111
12- 1. We (might) need dynamically allocated date
12+ 1. We (might) need dynamically allocated date
1313
14- - e.g. loading configuration data of unknown size
14+ - e.g. loading configuration data of unknown size
1515
16- 2. Deallocations can cause leaks, corruption
16+ 2. Deallocations can cause leaks, corruption
1717
18- - |rightarrow | **Disallow ** them entirely
18+ - |rightarrow | **Disallow ** them entirely
1919
20- 3. A dynamically allocated object will needs deallocation
20+ 3. A dynamically allocated object will needs deallocation
2121
22- - |rightarrow | Unless it never goes out of **scope **
22+ - |rightarrow | Unless it never goes out of **scope **
2323
2424* |rightarrow | Allow only allocation onto globals
2525
You can’t perform that action at this time.
0 commit comments