12 #include <tracking/trackFindingCDC/utilities/IsApplicable.h>
19 namespace TrackFindingCDC {
23 struct GetAutomatonCell {
25 template<
class T,
class SFINAE = decltype(&T::getAutomatonCell)>
28 return t.getAutomatonCell();
39 constexpr
bool isCellHolder()
41 return isApplicable<GetAutomatonCell, T&>();
46 void static_assert_isCellHolder()
48 static_assert(isCellHolder<T>(),
"Template argument must support the CellHolder concept, "
49 "i.e. it must support cellHolder.getAutomatonCell()");