Integer promotion... what I'm missing? (It's monday...)

Paolo Invernizzi arathorn at NOSPAM_fastwebnet.it
Mon Jun 19 13:30:28 PDT 2006


Hi all,

What I'm missing?

     uint a = 16;
     int b = -1;
     assert( b < a ); // this fails! I was expecting that -1 < 16

Thanks

---
Paolo



More information about the Digitalmars-d-learn mailing list