RAD Studio
ContentsIndex
PreviousUpNext
Exporting And Importing Templates

This section contains Exporting And Importing Template topics.

Name 
Description 
The declaration of a template function or template class needs to be sufficiently flexible to allow it to be used in either a dynamic link library (shared library) or an executable file. The same template declaration should be available as an import and/or export, or without a modifier. To be completely flexible, the header file template declarations should not use __export or __import modifiers. This allows the user to apply the appropriate modifier at the point of instantiation depending on how the instantiation is to be used.
The following steps demonstrate exporting and importing of templates. The source code is... more 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!