JPL Spatial
Sound spatialization and propagation library
Loading...
Searching...
No Matches
JPL::Algo::AccAbs< T > Struct Template Reference

functor for std::accumulate (and similar) to accumulate absolute values More...

#include <JPLSpatial/Algo/Algorithm.h>

Public Member Functions

JPL_INLINE constexproperator() (const T &acc, const T &value) const noexcept
 

Detailed Description

template<class T = void>
struct JPL::Algo::AccAbs< T >

functor for std::accumulate (and similar) to accumulate absolute values

Member Function Documentation

◆ operator()()

template<class T = void>
JPL_INLINE constexpr T JPL::Algo::AccAbs< T >::operator() ( const T &  acc,
const T &  value 
) const
inlineconstexprnoexcept

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