External linkage
$3.5/2- "When a name has external linkage, the entity it denotes can be referred to by names from scopes of other translation units or from other scopes of the same translation unit."
Should not th开发者_运维问答e highlighted 'or' be 'and' or is it just a wrong day for me to interpret some English stuff?
An additional question is if the Standards document (finalized ones) subject to grammatical review by experts?
It would have the same meaning if it said 'and'. It's saying you can do A or B, but choosing one doesn't exclude being able to choose the other (i.e. it's not an exclusive-or).
See Exclusive "or" in natural language.
Summary: the use of "or" in English is quite ambiguous, and its meaning usually arises from context, rather than the word itself. For example:
"You can have tea or coffee" - Here, I can infer that "I can have tea".
"The light is on or off" - Here, I cannot infer that "the light is on".
I think what is meant is inclusive or; that the word "or" should read as the phrase "as well as" or indeed "and". I'm not on the C++ standards committee, but I imagine it's populated by experienced programmers and computer scientists, who know the meaning of "and", "or" and "not".
精彩评论