I use a class which has a singleton get method which returns a static local library. This is threadsafe in C++1. When I compile this class as a static library and use this library in two different shared libraries: Is there only one instance of the singleton when linking these two shared libraries with an application?
Aucun commentaire:
Enregistrer un commentaire