The new ?? and ??? operators

Derek Parnell derek at psych.ward
Sun Sep 23 14:52:17 PDT 2007


On Sun, 23 Sep 2007 11:34:09 -0400, Arlen Albert Keshabyan wrote:

> For instance:
> 
> int codeval = getValue1() > 5 ??? getValue2() >= 4 ??? getValue3() != 0 ??? 1; 

How would this evaluate in "long hand" code?

 int a = b() > c() ??? d() >= e() ??? f() != g();

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell



More information about the Digitalmars-d mailing list