Does it make sense for unary operators to be associative?
问题 The C++ operator precedence table from http://en.cppreference.com/w/cpp/language/operator_precedence (I know it's not normative, but the standard doesn't talk about precedence or associativity) marks unary operators as right/left associative. From a discussion on a different question, I'm left with doubts. Does it make sense for unary operators to be associative? 回答1: It's just an artefact of the way that the associativity is derived from the grammar. The reason that addition is left