T accumulate(T init) const
Return the sum of all the contained values using init as first value.
StatusCode finalize() override
Algorithm finalization.
Gaudi::Hive::ContextSpecificPtr< int > m_ctxtSpecCounter
void for_each(F f) const
Call a function on each contained value.
StatusCode execute() override
Standard constructor.
Gaudi::Hive::ContextSpecificData< int > m_ctxtSpecCounter
StatusCode finalize() override
Algorithm finalization.
auto accumulate(Mapper f, std::result_of_t< Mapper(const T *)> init) const -> decltype(init)
Taking a function f that from a T* produces a value, return the sum of all the values corresponding t...