/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/FWLite/interface/AutoLibraryLoader.h
32 строки
792 B
Shahzad Malik Muzaffar
move deleted constructors to top of class
28 июл 2021, 17:11
28 июл 2021, 17:11
8e07212
Код
Авторство
О чём код?
#ifndef FWCore_FWLite_AutoLibraryLoader_h #define FWCore_FWLite_AutoLibraryLoader_h /**\class AutoLibraryLoader * * ROOT helper class which can automatically load the * proper shared library when ROOT needs a new class dictionary * * \author Chris Jones, Cornell * * */ class DummyClassToStopCompilerWarning; class AutoLibraryLoader { friend class DummyClassToStopCompilerWarning; public: /// enable automatic library loading static void enable(); /// load all known libraries holding dictionaries static void loadAll(); AutoLibraryLoader(const AutoLibraryLoader&) = delete; // stop default const AutoLibraryLoader& operator=(const AutoLibraryLoader&) = delete; // stop default private: static bool enabled_; AutoLibraryLoader(); }; #endif