Re: [RFH / Patch] C++/52282

2012-05-05 Thread Gabriel Dos Reis
The NOP_EXPR are changing the "visible" types without changing the representation; sometimes it is about lvalueness being thrown away (which I suspect is the case here). I've always grumbled about not having a uniform way of saying "convert this expression to type T to an expression of type U". O

[RFH / Patch] C++/52282

2012-05-05 Thread Paolo Carlini
Hi, I'm analyzing this PR and the various testcases which come with it. It looks like we have indeed two separate issues: one, which looks simpler, with decltype, leading to ICEs; a more complex one with constexpr. The former is about ADDR_EXPR unhandled in the finish_decltype_type switch for