Public Types | Public Member Functions | Private Attributes

mln::fun::spe::lwrapper< Fun, typename Fun::argument > Struct Template Reference

#include <unary.hh>

List of all members.

Public Types

typedef Fun::argument argument
typedef lwrapper lresult
typedef Fun::lvalue lvalue
typedef Fun::result result

Public Member Functions

 lwrapper (const Fun &f, argument &x)
 operator result () const
const resultoperator= (const result &r) const
result to_result () const

Private Attributes

const Fun * f_
argumentx_

Detailed Description

template<typename Fun>
struct mln::fun::spe::lwrapper< Fun, typename Fun::argument >

Definition at line 81 of file spe/unary.hh.


Member Typedef Documentation

template<typename Fun >
typedef Fun::argument mln::fun::spe::lwrapper< Fun, typename Fun::argument >::argument

Definition at line 84 of file spe/unary.hh.

template<typename Fun >
typedef lwrapper mln::fun::spe::lwrapper< Fun, typename Fun::argument >::lresult

Definition at line 86 of file spe/unary.hh.

template<typename Fun >
typedef Fun::lvalue mln::fun::spe::lwrapper< Fun, typename Fun::argument >::lvalue

Definition at line 85 of file spe/unary.hh.

template<typename Fun >
typedef Fun::result mln::fun::spe::lwrapper< Fun, typename Fun::argument >::result

Definition at line 83 of file spe/unary.hh.


Constructor & Destructor Documentation

template<typename Fun >
mln::fun::spe::lwrapper< Fun, typename Fun::argument >::lwrapper ( const Fun &  f,
argument x 
) [inline]

Definition at line 88 of file spe/unary.hh.


Member Function Documentation

template<typename Fun >
mln::fun::spe::lwrapper< Fun, typename Fun::argument >::operator result (  )  const [inline]

Definition at line 98 of file spe/unary.hh.

References mln::fun::spe::lwrapper< Fun, T >::to_result().

template<typename Fun >
const result& mln::fun::spe::lwrapper< Fun, typename Fun::argument >::operator= ( const result r  )  const [inline]
template<typename Fun >
result mln::fun::spe::lwrapper< Fun, typename Fun::argument >::to_result (  )  const [inline]

Member Data Documentation

template<typename Fun >
const Fun* mln::fun::spe::lwrapper< Fun, typename Fun::argument >::f_ [private]

Definition at line 112 of file spe/unary.hh.

template<typename Fun >
argument* mln::fun::spe::lwrapper< Fun, typename Fun::argument >::x_ [private]

Definition at line 111 of file spe/unary.hh.