The Gaudi Framework  v36r9p1 (5c15b2bb)
Gaudi::Accumulators::Constant< T, N > Struct Template Reference

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

#include </builds/gaudi/Gaudi/GaudiKernel/include/Gaudi/Accumulators.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 246 of file Accumulators.h.

Member Function Documentation

◆ operator()()

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

Definition at line 248 of file Accumulators.h.

248  {
249  return N;
250  }

The documentation for this struct was generated from the following file:
IOTest.N
int N
Definition: IOTest.py:115