1 #ifndef art_Framework_Principal_ExecutionCounts_h 2 #define art_Framework_Principal_ExecutionCounts_h 35 template <
typename... ARGS>
39 template <
typename FIELD>
43 return std::get<FIELD>(counts_).
value;
46 template <
typename FIELD>
50 ++std::get<FIELD>(counts_).
value;
53 template <
typename HEAD_FIELD,
typename... TAIL_FIELDS>
54 std::enable_if_t<(
sizeof...(TAIL_FIELDS) > 0)>
57 increment<HEAD_FIELD>();
58 increment<TAIL_FIELDS...>();
65 increment<stats::Passed>();
67 increment<stats::Failed>();
74 counts_ = std::tuple<ARGS...>();
std::enable_if_t<(sizeof...(TAIL_FIELDS) > 0)> increment()
std::size_t times() const
std::tuple< ARGS... > counts_
void update(bool const rc)