/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Alignment/Geners/interface/IOIsString.hh
33 строки
566 B
Cms Build
Clang-Format
08 май 2019, 15:16
08 май 2019, 15:16
7614b05
Код
Авторство
О чём код?
#ifndef GENERS_IOISSTRING_HH_ #define GENERS_IOISSTRING_HH_ #include <string> namespace gs { template <class T> struct IOIsString { enum { value = 0 }; }; template <> struct IOIsString<std::string> { enum { value = 1 }; }; template <> struct IOIsString<const std::string> { enum { value = 1 }; }; template <> struct IOIsString<volatile std::string> { enum { value = 1 }; }; template <> struct IOIsString<const volatile std::string> { enum { value = 1 }; }; } // namespace gs #endif // GENERS_IOISSTRING_HH_