News for hackers. Stuff that matters.
Re:On the evolution of programming style: How far C++ has mo... by pdw on Monday March 26, 2012 @05:11PM (#3758666)
It's valid in all versions of C++, I believe. It's usually motivated with a chained ternary operator:

  return a == ALPHA ? x :
         a == BETA ? y :
         a == GAMMA ? z :
         throw ...;
Although that's not a style I'd recommend.

There are no comments on this comment yet.