Is it possible to store properties via opDispatch using tuples?

Jacob Carlborg doob at me.com
Fri Jan 17 14:22:58 PST 2014


On 2014-01-17 22:14, H. S. Teoh wrote:

> Is that because D doesn't have implicit casting via opCast? -- because,
> conceivably, if
>
> 	x = d.abc;
> 	
> gets lowered to
>
> 	x = d.opCast!(typeof(x))(d.abc);
> 	
> then the above can be made to work.

I don't know, maybe.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list