Struct initialization, implicit conversions and delegates
un at known.com
Mon Jan 16 12:51:06 PST 2012
> StringHash sh = "SomeString"; // ok
That's the only thing that works.
An @implicit tag for constructors to allow all implicit conversions would
really be helpful.
In general we need finer control of implicit conversions.
Just have a look at ProxyOf:
That's madness, all of that code just for getting alias this without
implicit conversion to the original type.
More information about the Digitalmars-d-learn