Поделиться через


Global Names

A name of an object, function, or enumerator is global if it is introduced outside any function or class or prefixed by the global unary scope operator (::), and if it is not used in conjunction with any of these binary operators:

  • Scope-resolution (::)

  • Member-selection for objects and references (.)

  • Member-selection for pointers (–>)

See Also

Reference

Summary of Scope Rules