Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Linkage in Names with Class Scope

The following linkage rules apply to names with class scope:

  • Static class members have external linkage.

  • Class member functions have external linkage.

  • Enumerators and typedef names have no linkage.

Microsoft Specific

  • Functions declared as friend functions must have external linkage. Declaring a static function as a friend generates an error.

END Microsoft Specific

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.