Closed jorisv closed 8 months ago
Explicit template instantiation is done with the extern template keyword.
extern template
Unfortunately, when used with dllexport on Windows this create a warning message.
dllexport
To avoid that, we define @LIBRARY_NAME@_EXP_INST_DECL that manage the compiler and the import/export context to avoid warnings.
@LIBRARY_NAME@_EXP_INST_DECL
Explicit template instantiation is done with the
extern template
keyword.Unfortunately, when used with
dllexport
on Windows this create a warning message.To avoid that, we define
@LIBRARY_NAME@_EXP_INST_DECL
that manage the compiler and the import/export context to avoid warnings.