The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
Gaudi::Accumulators::Square Struct Reference

A Square functor. More...

#include </builds/gaudi/Gaudi/GaudiKernel/include/Gaudi/Accumulators.h>

Public Member Functions

template<typename U>
constexpr decltype(auto) operator() (U &&v) const noexcept
 

Detailed Description

A Square functor.

Definition at line 292 of file Accumulators.h.

Member Function Documentation

◆ operator()()

template<typename U>
decltype(auto) Gaudi::Accumulators::Square::operator() ( U && v) const
inlineconstexprnoexcept

Definition at line 294 of file Accumulators.h.

294 {
295 return v * v;
296 }

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