limes 3.1.0
Composable Calculus Expressions for C++20
Loading...
Searching...
No Matches
limes::algorithms::accumulators::any_accumulator< T > Class Template Reference

#include <accumulators.hpp>

Public Types

using value_type = T
 

Public Member Functions

template<Accumulator< T > A>
 any_accumulator (A acc)
 
 any_accumulator (const any_accumulator &other)
 
any_accumulatoroperator= (const any_accumulator &other)
 
any_accumulatoroperator+= (T value)
 
operator() () const
 
 operator T () const
 
void reset ()
 

Detailed Description

template<Field T>
class limes::algorithms::accumulators::any_accumulator< T >

Definition at line 207 of file accumulators.hpp.

Member Typedef Documentation

◆ value_type

template<Field T>
using limes::algorithms::accumulators::any_accumulator< T >::value_type = T

Definition at line 209 of file accumulators.hpp.

Constructor & Destructor Documentation

◆ any_accumulator() [1/2]

template<Field T>
template<Accumulator< T > A>
limes::algorithms::accumulators::any_accumulator< T >::any_accumulator ( acc)
inlineexplicit

Definition at line 212 of file accumulators.hpp.

◆ any_accumulator() [2/2]

template<Field T>
limes::algorithms::accumulators::any_accumulator< T >::any_accumulator ( const any_accumulator< T > &  other)
inline

Definition at line 215 of file accumulators.hpp.

Member Function Documentation

◆ operator T()

template<Field T>
limes::algorithms::accumulators::any_accumulator< T >::operator T ( ) const
inline

Definition at line 229 of file accumulators.hpp.

◆ operator()()

template<Field T>
T limes::algorithms::accumulators::any_accumulator< T >::operator() ( ) const
inline

Definition at line 228 of file accumulators.hpp.

◆ operator+=()

template<Field T>
any_accumulator & limes::algorithms::accumulators::any_accumulator< T >::operator+= ( value)
inline

Definition at line 223 of file accumulators.hpp.

◆ operator=()

template<Field T>
any_accumulator & limes::algorithms::accumulators::any_accumulator< T >::operator= ( const any_accumulator< T > &  other)
inline

Definition at line 218 of file accumulators.hpp.

◆ reset()

template<Field T>
void limes::algorithms::accumulators::any_accumulator< T >::reset ( )
inline

Definition at line 231 of file accumulators.hpp.


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