module
arc
Reference-counted smart pointers.
Example usage:
from memory import Arc
var p = Arc(4)
var p2 = p
p2.set(3)
print(3 == p.get())
Structs
-
Arc
: Atomic reference-counted pointer.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
😔 What went wrong?