The Gaudi Framework  master (37c0b60a)
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 273 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 275 of file Accumulators.h.

275  {
276  return N;
277  }

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