to!() conversion between objects

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Fri Oct 21 00:06:48 PDT 2011


That would be great! that ides evaluates to:
--boilerplate;

On Thu, Oct 20, 2011 at 7:02 PM, Andrei Alexandrescu
<SeeWebsiteForEmail at erdani.org> wrote:
> 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