On Thursday, 27 February 2014 at 16:10:34 UTC, Adam D. Ruppe wrote:
struct RefCountingStruct {
    private struct Impl {
      // implementation here

      int refcount;
    }
    Impl* payload;
    alias payload this;


Isn't it exactly what Phobos RefCounted does?

Reply via email to