AFF --- A container for numbers (array) by Friederich and Forbriger.

◆ max()

template<class C >
C::Tvalue aff::func::max ( const C &  c)

Function template to extract the largest from the values stored in a container

Parameters
Cany container class like aff::Array<double> (this value is deduced by the compiler)
cany container of numerical values
Returns
largest value of container contents
See also
aff::func::util::collect, aff::func::util::Extractmax

Definition at line 89 of file max.h.

Referenced by main().

90  {
91  return(aff::func::util::collect<C, aff::func::util::Extractmax>(c));
92  } // max()
Here is the caller graph for this function: