Concept Flow - Rc pointer
Create Rc pointer
Reference count = 1
Clone Rc pointer
Reference count += 1
Use Rc pointers
Drop one Rc pointer
Reference count -= 1
Reference count == 0?
No→Keep data alive
Yes
Free data
This flow shows how an Rc pointer is created, cloned to increase reference count, used, and dropped to decrease count until data is freed.