Is there a standard way to define to for user-defined types?

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Jun 19 20:40:22 PDT 2011


Ah, this is what I did found:

Line 665 in std.conv:

/**
Object-_to-non-object conversions look for a method "to" of the source
object.
*/

So I guess this can be expanded upon to cover object-to-object
conversions, maybe?


More information about the Digitalmars-d mailing list