I've recently deleted two of my questions1, 2 because of upvoted irrelevant comments on my questions. For question one, I've received this feedback:
[+3] The problem is that you are using the same name for both the enum class and the struct member using the enum class. If you rename the
assoc
struct member toassoc_
it compiles fine.
Misses the point of the question. I'm asking about why it errors in one compiler and not another.
[+4] I really wish people would stop declaring types and defining variables of that type in the same statement. It only creates confusion.
Irrelevant.
[+1] I almost wish it weren't possible to define a variable in the same statement with defining the type.
Irrelevant.
Question two:
[+4] Is there any behaviour in C++ that contradicts your understanding?
Cryptic comment.
[+4] The signed byte -128 and the unsigned byte 128 would be represented by the same sequence of bits: 10000000. Whether those bits mean 128 or -128 is in the eye of the beholder (e.g. after a
cmp
, does the compiler generate ajb
orjl
?).
Should be an answer not a comment.
[+5] Well, yes. At the moment there's no question. You've stated a language rule, and then you start talking about something that hasn't anything to do with C++.
Do I need to stop asking questions?
I received these feedback relatively quickly after I posted my questions and they received a high number of upvotes in the same period of time. None of them seem to constructively address the question or how it can be improved, but are just venting for no particular reason. I really do not feel welcome here. I'm afraid if I ask another question the same thing will happen.