26 #ifndef MLN_FUN_COMPONENT_GREEN_HH
27 # define MLN_FUN_COMPONENT_GREEN_HH
33 # include <mln/fun/unary.hh>
34 # include <mln/value/rgb.hh>
42 struct green : unary<green> {};
46 # ifndef MLN_INCLUDE_ONLY
57 typedef set_precise_unary_ ret;
59 typedef typename argument::green_t result;
60 typedef argument& lvalue;
62 static result read(
const argument& x)
67 static void write(lvalue l,
const result& r)
77 # endif // ! MLN_INCLUDE_ONLY
81 #endif // ! MLN_FUN_COMPONENT_GREEN_HH