Confused about class equality

Justin Spahr-Summers Justin.SpahrSummers at gmail.com
Wed Apr 7 00:53:47 PDT 2010


On Tue, 06 Apr 2010 23:35:01 -0400, strtr <strtr at spam.com> wrote:
> 
> Justin Spahr-Summers Wrote:
> > 
> > Hmm, that is pretty weird. Are you doing any casts anywhere, or any 
> > pointer arithmetic/tricks?
> A search for cast didn't show any related casts.
> Do you maybe know another thing to check? 
> I do throw references around and there are a lot of implicit casts to extended interfaces.

Without actual explicit casting, I don't know how it'd be possible to 
invoke behavior like that. Maybe an object of class X getting implicitly 
converted to interface A and then explicitly cast to class Y? It'd have 
to be pretty convoluted.


More information about the Digitalmars-d-learn mailing list