Protectedvalue_StaticisReturns whether a value implements CCC Owner semantics.
Disposes this ownership claim. Repeated calls are safe.
ProtectedmoveMoves the ownership claim out of this owner without disposing it.
Access is invalidated synchronously and the moved claim retains this Owner's release semantics.
Protected StaticmoveStaticnewStaticfromMoves an ownership claim into a new reference-counted Owner.
Creates another Owner for the same shared value.
ProtectedreleaseReleases this ownership claim.
Implementations decide whether this disposes the value immediately or, for example, only decrements a reference count.
A reference-counted Owner for a shared value.
The source ownership is disposed after the final OwnerRefCount is disposed. Each clone owns one reference and can be disposed independently.
Example