[cfe-dev] C++ Conditional Operator

Douglas Gregor dgregor at apple.com
Sun Apr 12 20:21:39 PDT 2009


On Apr 12, 2009, at 2:33 PM, Sebastian Redl wrote:

> Hi,
>
> I'll implement C++ semantics for ?: over the next few days. Because  
> the
> operator has awful semantics,

Yes. Yes it does. Thanks for tackling this!

> I've decided to use a test-first approach
> to it. I'd appreciate a review of my test case before I go and  
> implement
> something incorrect.

Your tests look good to me, and EDG agrees in both relaxed and strict  
mode.

	- Doug



More information about the cfe-dev mailing list