How to test for equality of types?

Simen Kjaeraas simen.kjaras at gmail.com
Fri May 18 14:51:28 PDT 2012


On Fri, 18 May 2012 23:06:00 +0200, Matthias Walter  
<xammy at xammy.homelinux.net> wrote:

[snip]
> prints out
>
> false

Because Wrapper!(AliasStruct).Wrap does not exist. And _error_ is not
equal to any other type.


> true

Indeed, they are the same.


> false

And here I disagree. This prints true on 2.059. Regression?


More information about the Digitalmars-d-learn mailing list