Public Types | Public Member Functions

mln::fun::vv2v::min< L, R > Struct Template Reference

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

#include <min.hh>

Inheritance diagram for mln::fun::vv2v::min< L, R >:
Inheritance graph

List of all members.

Public Types

typedef Function_vv2v< void > category
typedef min< L, R > exact_t
typedef L result

Public Member Functions

operator() (const L &v1, const R &v2) const

Detailed Description

template<typename L, typename R = L>
struct mln::fun::vv2v::min< L, R >

A functor computing the minimum of two values.

Definition at line 50 of file fun/vv2v/min.hh.


Member Typedef Documentation

typedef Function_vv2v<void> mln::Function_vv2v< min< L, R > >::category [inherited]

Reimplemented from mln::Function< min< L, R > >.

Definition at line 179 of file function.hh.

typedef min< L, R > mln::Object< min< L, R > >::exact_t [inherited]

Definition at line 173 of file object.hh.

template<typename L, typename R = L>
typedef L mln::fun::vv2v::min< L, R >::result

Definition at line 53 of file fun/vv2v/min.hh.


Member Function Documentation

template<typename L , typename R >
L mln::fun::vv2v::min< L, R >::operator() ( const L &  v1,
const R &  v2 
) const [inline]

Definition at line 63 of file fun/vv2v/min.hh.

References mln::math::min().