Post #3221259
2026-06-09 10:44 UTC
Most of the time you pass by reference for more outputs, or by const ref to avoid copying a big-ass data structure
Replies (1)
-
@DahGangalang@infosec.pub 2026-06-09 11:22
Another reason I commonly see: to change the structure / “main pointer” to a data structure (esp during freeing and cleanup).