__declspec(package)
Go Up to Keywords, Alphabetical Listing Index
Category
Modifiers (C++), Keyword Extensions, Storage Class Specifiers (C++)
Syntax
__declspec(package) declarator
The package argument is used to indicate that the class definition can be compiled in a package.
Note: You can use the macro
PACKAGE
, defined in sysmac.h, as an alternative for __declspec(package).Attention: If a class is marked as __declspec(package), and it contains a non-inline function declaration, and the file containing the class is compiled with the -tP option, then the class is treated as declspec(dllexport); otherwise it's considered
declspec(dllimport).