Skip to content

Commit

Permalink
add article on ref, return, and scope annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed May 19, 2023
1 parent 095f897 commit e55e83e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions articles/index.dd
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,17 @@ $(D_S Articles,
)
)
)
$(DIVC row,
$(DIVC item,
$(H4 $(LINK2 $(ROOT_DIR)articles/RefReturnScope.html,
Coralling Wild Pointers with `ref return scope`))
$(P
How to use the `ref`, `return` and `scope` annotations
to prevent the escape of pointers. Escaping pointers can
cause memory corruption and other problems.
)
)
)
)
)

Expand Down

0 comments on commit e55e83e

Please sign in to comment.