Keyword boolean operators?

I was confused today when I saw that my compiled program uses “and” and “or” keywords for boolean statements. I had forgotten that in C++ these are defined as && and ||, but when I tried it in CINT, I got errors saying that it didn’t know “and” and “or”.

Is it easy to make CINT understand these (and the other keyword boolean operators)? Or is it one of these “it’ll be fixed in cling” problems?

Jean-François

Hi,

It would have been indeed possible to add ‘and’ and ‘or’ to CINT … however since we no longer update CINT except for blocking misbehavior, this will have to wait and be fixed ‘for free’ by cling :slight_smile:.

Cheers,
Philippe.