Functor that accesses the i-th component of a value. More...
#include <component.hh>
Public Types | |
typedef Function_v2v< void > | category |
typedef component< T, i > | exact_t |
typedef void | mutable_result |
Public Member Functions | |
typedef | mln_trait_value_comp (T, i) result |
result | operator() (const T &v) const |
Functor that accesses the i-th component of a value.
typedef Function_v2v<void> mln::Function_v2v< component< T, i > >::category [inherited] |
Reimplemented from mln::Function< component< T, i > >.
typedef void mln::Function_v2v< component< T, i > >::mutable_result [inherited] |
typedef mln::fun::v2v::component< T, i >::mln_trait_value_comp | ( | T | , | |
i | ||||
) |
component< T, i >::result mln::fun::v2v::component< T, i >::operator() | ( | const T & | v | ) | const [inline] |