I usually see the C++11 keyword using
as a type declaration.
I want to make that type visible for the users of my shared library (dll).
So (for windows) I export it with __declspec(dllexport)
.
__declspec(dllexport) using History = std::list<Event>;
But I don't know where to put it. I get only errors.
Aucun commentaire:
Enregistrer un commentaire