The Gaudi Framework  v32r0 (3325bb39)
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 158 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 160 of file Counters.h.

160  {
161  return N;
162  }
int N
Definition: IOTest.py:99

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