toImpl deprecated, use opCast instead?

timotheecour thelastmammoth at gmail.com
Sat Jun 9 17:26:36 PDT 2012


What is the recommended approach when we have no control over 
classes A or B (cf from 3rd party) to convert A to B?
It seems UFCS doesn't work in that case.
Could you please provide an example code?
Thanks!


More information about the Digitalmars-d mailing list