This question has what most likely is a typo. A <<
instead of a ;
. However the implications of this typo are far from trivial. The incorrect code compiles without a problem and produces a seemingly unexpected output.
The explanation of what happens is very interesting and involves a analysis of the evolution of C++, the motivation of such changes, and reveals a compiler bug.
The post has been closed as a "typographical error" and reopened multiple times now.
My view is that it should stay opened. I would think that the "typo close" reason is intended for silly typos that answers would not bring any value to the site, other than "You have this typo. Fix it and you're good. Not much to tell here". In that case yes, a close is perfectly justified. This is not such a case, even if the underlying cause is a typo. The answer is interesting, as proof by the excellent accepted answer with over 100 votes.
So I think that we need to reach a conclusion of whether to close the question or not and maybe lock it (due to multiple close/open cycles it has gone through in 3 days alone).
My vote is to leave it open.