"BCS" <BCS at pathlink.com> wrote in message news:ffbf1l$cbo$1 at digitalmars.com... > Is it or will it be possible, in v1.0 or v2.0, to define overloads sutch > that this works? > > class C{} > > auto c = new C; > > real r = c; It's called opImplicitCast, and yes, it will be in D2.