Linkage in Names with Class Scope
For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.
The following linkage rules apply to names with class scope:
Static class members have external linkage.
Class member functions have external linkage.
typedefnames have no linkage.
- Functions declared as
friendfunctions must have external linkage. Declaring a static function as a
friendgenerates an error.
END Microsoft Specific