mln::fun::v2v::component< T, i > Struct Template Reference

Functor that accesses the i-th component of a value. More...

#include <component.hh>

Inheritance diagram for mln::fun::v2v::component< T, i >:

Inheritance graph

List of all members.

Public Types

typedef Function_v2v< void > category
typedef E exact_t
typedef void mutable_result

Public Member Functions

typedef mln_trait_value_comp (T, i) result
result operator() (const T &v) const


Detailed Description

template<typename T, unsigned i>
struct mln::fun::v2v::component< T, i >

Functor that accesses the i-th component of a value.

Definition at line 51 of file component.hh.


Member Typedef Documentation

template<typename E>
typedef Function_v2v<void> mln::Function_v2v< E >::category [inherited]

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Definition at line 172 of file object.hh.

template<typename E>
typedef void mln::Function_v2v< E >::mutable_result [inherited]

Reimplemented in mln::util::array< T >.

Definition at line 94 of file function.hh.


Member Function Documentation

template<typename T, unsigned i>
typedef mln::fun::v2v::component< T, i >::mln_trait_value_comp ( T  ,
 
)

template<typename T, unsigned i>
component< T, i >::result mln::fun::v2v::component< T, i >::operator() ( const T v  )  const [inline]

Definition at line 64 of file component.hh.


Generated on Sun Apr 25 02:01:47 2010 for Milena (Olena) by  doxygen 1.5.6