typeinfo comparison - 'is' or '=='?

Anders F Björklund afb at algonet.se
Sun May 7 05:00:10 PDT 2006


Bruno Medeiros wrote:

> Yet, that would make the comparison slower, just because of a compiler 
> technology limitation, no? That doesn't sound good to me.

Sure, depends on whether you want it working on other platforms or not.

Since DMD and Phobos only supports Windows and linux, I guess it is OK
for them to do it in a way that is the fastest on those two platforms.

But it still has to be patched, in the GDC / GPhobos versions of them ?

--anders



More information about the Digitalmars-d mailing list