RefCounted

A template struct to make pointers to ImageMagick structs reference counted. Excepts a predicate pred which destroys the struct pointer when refCount is 0.

struct RefCounted (
alias pred
T
) if (
!is(T == class) &&
is(typeof(pred(cast(T*)null)) == T*)
) {
T* payload;
}

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Postblit

A postblit is present on this object, but not explicitly documented in the source.

Alias This

payload

Meta