What's the meaning of the second part of this sentence? [closed]

Namespaced functions, unless declared "friend," have no access to the class' internals, whereas static methods have.

What's the meaning of the second part of this sentence, which is seen at https://stackoverflow.com/a/1435105/13611002.


Solution 1:

You can also read it to say,

Namespaced functions, unless declared "friend," have no access to the class' internals, whereas static methods do have access to the class' internals.

Definitions:

whereas: while on the contrary.