News for hackers. Stuff that matters.
Re:Why C++ sucks (2016 edition) by blub on Monday February 22, 2016 @08:56AM (#11150776)
You're welcome. The underscore thing is mentioned in 17.6.4.3.2 Global names, however it's more complex than what I said initially (this is C++ after all):

* double underscore or underscore + capital letter is reserved in any scope

* underscore is reserved in global scope

Your code is allowed in fact, sorry. My personal rule is that I never start an identifier with an underscore anywhere.

There are no comments on this comment yet.