struct ClassRangeWrapper(T) if (is(T == class) || is(T == interface)) { T payload; alias payload this; this(ref inout typeof(this) other) inout { this.payload = other.payload.save; } }