Skip to content

Commit e55e83e

Browse files
committed
add article on ref, return, and scope annotations
1 parent 095f897 commit e55e83e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

articles/index.dd

+11
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,17 @@ $(D_S Articles,
185185
)
186186
)
187187
)
188+
$(DIVC row,
189+
$(DIVC item,
190+
$(H4 $(LINK2 $(ROOT_DIR)articles/RefReturnScope.html,
191+
Coralling Wild Pointers with `ref return scope`))
192+
$(P
193+
How to use the `ref`, `return` and `scope` annotations
194+
to prevent the escape of pointers. Escaping pointers can
195+
cause memory corruption and other problems.
196+
)
197+
)
198+
)
188199
)
189200
)
190201

0 commit comments

Comments
 (0)