Confused about class equality

strtr strtr at spam.com
Tue Apr 6 20:35:01 PDT 2010


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.

> 
> The only thing that I can think of is that you might've somehow 
> unintentionally fooled the compiler/runtime by coercing some types 
> somewhere.
Don't the different vptrs also hint to this?

> 
> If not, it might comprise a valid bug report.
Trying to find a minimal version.. might take some time :(



More information about the Digitalmars-d-learn mailing list