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.

Definition at line 49 of file fun/vv2v/max.hh.


Member Typedef Documentation

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

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

Definition at line 179 of file function.hh.

typedef max< V > mln::Object< max< V > >::exact_t [inherited]

Definition at line 173 of file object.hh.

template<typename V>
typedef V mln::fun::vv2v::max< V >::result

Definition at line 51 of file fun/vv2v/max.hh.


Member Function Documentation

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

Definition at line 61 of file fun/vv2v/max.hh.

References mln::math::max().