/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/Common/interface/MapRefViewTrait.h
25 строк
687 B
W. David Dagenhart
From scram b code-format-all (clang-format)
10 май 2019, 17:51
10 май 2019, 17:51
82e0ab0
Код
Авторство
О чём код?
#ifndef DataFormats_Common_MapRefViewTrait_h #define DataFormats_Common_MapRefViewTrait_h #include "DataFormats/Common/interface/Ref.h" #include "DataFormats/Common/interface/RefProd.h" #include "DataFormats/Common/interface/RefToBase.h" #include "DataFormats/Common/interface/RefToBaseProd.h" #include <map> namespace edm { namespace helper { template <typename C> struct MapRefViewTrait { typedef Ref<C> ref_type; typedef RefProd<C> refprod_type; }; template <typename T> struct MapRefViewTrait<View<T> > { typedef RefToBase<T> ref_type; typedef RefToBaseProd<T> refprod_type; }; } // namespace helper } // namespace edm #endif