_export, __export (C++)
Go Up to Keywords, Alphabetical Listing Index
class _export <class name>
return_type _export <function name>
data_type _export <data name>
These modifiers are used to export classes, functions, and data.
The linker enters functions flagged with _export or __export into an export table for the module.
Using _export or __export eliminates the need for an EXPORTS section in your module definition file.
Functions that are not modified with _export or __export receive abbreviated prolog and epilog code, resulting in a smaller object file and slightly faster execution.
If you want to change various attributes from the default, you will need a module definition file.