robertknight/duckface — Issue #2: Integration with reference-counted and unique pointers
Author: robertknight
Created: 2012-02-20 00:43:38+00:00
State: open

Provide a way to integrate reference-counting / unique ownership with interface pointers. For example, when wrapping a ref-counted pointer with an interface pointer, the ref count would be increment when the interface pointer was constructed and decremented when destroyed.

For unique pointers, the interface pointer could take ownership of the wrapped pointer and free it when destroyed.