to!() conversion between objects

Piotr Szturmaj bncrbme at jadamspam.pl
Wed Oct 19 11:31:20 PDT 2011


> Piotr Szturmaj:
>
>> I have written a simple conversion template for tuples, structs and classes:

This is only the part to complement universal range/array to 
tuple/struct/class conversion. It may be useful in mapping runtime 
fields like database rows or CSV lines onto objects. I think Phobos 
needs a common solution for that.


More information about the Digitalmars-d mailing list