The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
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 272 of file Accumulators.h.

Member Function Documentation

◆ operator()()

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

Definition at line 274 of file Accumulators.h.

274 {
275 return N;
276 }
A functor always returning the value N.

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