const challenge

Janice Caron caron800 at googlemail.com
Sun Feb 3 11:27:04 PST 2008


On 03/02/2008, Russell Lewis <webmaster at villagersonline.com> wrote:
> If we had a opImplicitCast (and it was overloadable), then it would be
> pretty easy to implement a template with thunks:

It would - but you'd quickly find ambiguities, at which the compiler
would also complain, again requiring an explicit cast to keep the
compiler happy.



More information about the Digitalmars-d mailing list