sO deref(O o) { if (o cast IRef) ret o!; ret o; }