www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17924] New: allow to omit middle operator in ternary

https://issues.dlang.org/show_bug.cgi?id=17924

          Issue ID: 17924
           Summary: allow to omit middle operator in ternary condition
                    (a.k.a. add ?: Elvis operator)
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: code dawg.eu

https://gcc.gnu.org/onlinedocs/gcc-4.2.4/gcc/Conditionals.html#Conditionals
https://en.wikipedia.org/wiki/Elvis_operator

--
Oct 21