CBFalconer < XXXX@XXXXX.COM > writes:

Which completely and utterly misses the point.

The article that started this thread was a proposal to allow

non-constant case expressions. anon's point was that it would then

become impossible (or nearly so) to maintain the property that all

case expressions in a switch statement must have distinct values.

Your "correction" is valid C, but pointless; you might as well have

posted "int main(void) { }".

Perhaps, but the topic of the thread is a proposed change to both C

and C++. Arguably the comp.std.* groups would have been better, but I

think comp.std.c++ is more or less dead these days. Since switch

statements have the same syntax and semantics in C and C++, it's not

entirely unreasonable to discuss a proposed change in both.

--

Keith Thompson (The_Other_Keith) XXXX@XXXXX.COM < http://www.yqcomputer.com/ ~kst>

Nokia

"We must do something. This is something. Therefore, we must do this."

-- Antony Jay and Jonathan Lynn, "Yes Minister"

In article < XXXX@XXXXX.COM >,

...

It's what Chuck does best. One should always play to one's strengths.

...

It's what Chuck does best. One should always play to one's strengths.

5. enum expressions in integral constant expressions

6. Case expression must be constant expression

7. Context-Free Expressions and Turing Expressions (was: Context Free Language)

8. JSP: Nested expression language expressions and Spring

9. C++ regular expression Vs. Perl regular Expression

10. Dynamically changing the regular expression of Regular Expression validator

11. Expression error in form with no expressions

12. Function isn't available in expressions in Query expression

13. Error: function is not available in expressions in query expression

14. Use result of expression in another expression??

15. Expression Builder Missing Expressions

2 post • Page:**1** of **1**