The Gaudi Framework  v32r2 (46d42edc)
Gaudi::Accumulators::Constant< T, N > Struct Template Reference

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

#include <GaudiKernel/Counters.h>

Public Member Functions

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

Detailed Description

template<typename T, T N>
struct Gaudi::Accumulators::Constant< T, N >

A functor always returning the value N.

Definition at line 159 of file Counters.h.

Member Function Documentation

◆ operator()()

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

Definition at line 161 of file Counters.h.

161  {
162  return N;
163  }
int N
Definition: IOTest.py:100

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