description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Compiler Warning (level 1) C4910 |
Compiler Warning (level 1) C4910 |
11/04/2016 |
|
|
67963560-fbca-4ca7-93db-06beaf7055f0 |
'<identifier>' : '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation
The explicit template instantiation named <identifier> is modified by both the __declspec(dllexport)
and extern
keywords. However, these keywords are mutually exclusive. The __declspec(dllexport)
keyword means instantiate the template class, while the extern
keyword means do not automatically instantiate the template class.
Explicit Instantiation
dllexport, dllimport
General Rules and Limitations