Compiler Warning (level 1) C4910
'<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.
See also
Explicit Instantiation
dllexport, dllimport
General Rules and Limitations
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for