KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
kjb::maximum< T > Class Template Reference

#include <l_functors.h>

Public Member Functions

const T operator() (const T &op1, const T &op2)
 

Detailed Description

template<class T>
class kjb::maximum< T >

binary operator that returns the maximum of two elements. Useful in conjunction with std::accumulate to find the maximum element of a collection of elements.

Member Function Documentation

template<class T >
const T kjb::maximum< T >::operator() ( const T &  op1,
const T &  op2 
)
inline

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