/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/TestObjects/interface/ThingWithIsEqual.h
18 строк
446 B
Chris Jones
Add explicit constructor to set value
24 мар 2021, 17:49
24 мар 2021, 17:49
243c880
Код
Авторство
О чём код?
#ifndef DataFormats_TestObjects_ThingWithIsEqual_h #define DataFormats_TestObjects_ThingWithIsEqual_h #include "FWCore/Utilities/interface/typedefs.h" namespace edmtest { struct ThingWithIsEqual { ~ThingWithIsEqual() {} ThingWithIsEqual() : a() {} explicit ThingWithIsEqual(cms_int32_t v) : a(v) {} bool isProductEqual(ThingWithIsEqual const& thingWithIsEqual) const; cms_int32_t a; }; } // namespace edmtest #endif