Michel Fortin wrote:
It could even be taken a little further: make the last statement the implicit return value of a function:{ a < b } same as { return a < b; }Adding back the semicolon would bring back the current behaviour (it's just like adding an empty statement):{ a < b; } same as { a < b; return; } It'd be nice for functional style predicates.
Yes, these were all proposed for both C++0x and D, and both were rejected for the reason Andrei stated.
