to!() conversion between objects

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Oct 20 08:02:44 PDT 2011


On 10/20/11 6:53 AM, kenji hara wrote:
> I think std.conv.to should provide the *safe natural conversion*.
> Field-to-field conversion seems not natural, and it is called
> 'Structural conversion'.

I agree. We could, however, add std.conv.structuralCast.

Andrei


More information about the Digitalmars-d mailing list