The OpenD Programming Language

Unique.RefT

Represents a reference to T. Resolves to T* if T is a value type.

import std.typecons;
struct Unique(T)
static if(is(T == class) || is(T == interface))
alias RefT = T

Meta