Slides from LASER 2012

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Sep 20 21:57:02 PDT 2012


On 9/20/12 6:03 PM, renoX wrote:
> Thank for these slides.
>
> I didn't get some part of the VRP slides: p40 of the third lesson:
> byte a, b, c;
> a = 1;
> b = c | a; // error
> Is-this really an error? A binary-or operation on bytes should return a
> byte..
>
> BR,
> renoX

Yes, it's a bug in the slides. Thanks! A correct example would be:

byte a, b;
int c = 1;
b = c | a;


Andrei


More information about the Digitalmars-d-announce mailing list