Public Types | Public Member Functions

mln::fun::vv2v::max< V > Struct Template Reference

A functor computing the maximum of two values. More...

#include <max.hh>

Inheritance diagram for mln::fun::vv2v::max< V >:
Inheritance graph

List of all members.

Public Types

typedef Function_vv2v< void > category
typedef max< V > exact_t
typedef V result

Public Member Functions

operator() (const V &v1, const V &v2) const

Detailed Description

template<typename V>
struct mln::fun::vv2v::max< V >

A functor computing the maximum of two values.


Member Typedef Documentation

typedef Function_vv2v<void> mln::Function_vv2v< max< V > >::category [inherited]

Reimplemented from mln::Function< max< V > >.

typedef max< V > mln::Object< max< V > >::exact_t [inherited]
template<typename V>
typedef V mln::fun::vv2v::max< V >::result

Member Function Documentation

template<typename V >
V mln::fun::vv2v::max< V >::operator() ( const V &  v1,
const V &  v2 
) const [inline]

References mln::math::max().