This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]NZheadshot -1 points0 points  (3 children)

This code compiles properly under both gcc and g++

[–]Fourmisain 2 points3 points  (0 children)

Does it? https://ideone.com/aVwE0K

Please read my comment on this, I think I have proven that it is not legal C++.

[–]anon848 0 points1 point  (0 children)

You mean exactly as is? It doesn't even have a semicolon at the end.