RefCountedTrusted.refCountedPayload

These are the only ways to access the refcounted payload (but the store MUST be initialized)

More importantly, safe code must NEVER escape references to the payload.

  1. T refCountedPayload [@property getter]
  2. inout(T) refCountedPayload [@property getter]
    struct RefCountedTrusted(T, RefCountedAutoInitialize autoInit = RefCountedAutoInitialize.yes)
    @property ref inout @system
    inout(T)
    refCountedPayload
    ()
    if (
    !is(T == class) &&
    !(is(T == interface))
    )