KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
kjb::minimum< 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::minimum< T >

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

Member Function Documentation

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

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