How made my to!MyStruct

Jesse Phillips jessekphillips+D at gmail.com
Sat Jun 25 14:45:26 PDT 2011


Zardoz Wrote:

> Hi. I made a parametrized struct, a Vector, and I'm trying to make to! work to make conversion between Vectors with
> different parametrized type.

You should be able to override opCast and have it work with std.to, or I believe that is intended to work.



More information about the Digitalmars-d-learn mailing list