The Gaudi Framework  v31r0 (aeb156f0)
Gaudi::Accumulators::Constant< N > Struct Template Reference

An functor always returning the value N. More...

#include <GaudiKernel/Counters.h>

Public Member Functions

template<typename U >
constexpr unsigned long operator() (U &&) const noexcept
 

Detailed Description

template<unsigned long N>
struct Gaudi::Accumulators::Constant< N >

An functor always returning the value N.

Definition at line 155 of file Counters.h.

Member Function Documentation

template<unsigned long N>
template<typename U >
constexpr unsigned long Gaudi::Accumulators::Constant< N >::operator() ( U &&  ) const
inlinenoexcept

Definition at line 157 of file Counters.h.

157  {
158  return N;
159  }
int N
Definition: IOTest.py:99

The documentation for this struct was generated from the following file: