enhancement type system

downs default_357-line at yahoo.de
Thu Jul 31 14:31:45 PDT 2008


downs wrote:
>   T opAssign(T t) {
>     if (!t) throw new Exception("Cannot set NonNull to null!");
>     obj = t;
Er, of course, return obj = t;
>   }
> }


More information about the Digitalmars-d-learn mailing list