26 #ifndef MLN_FUN_META_GREEN_HH
27 # define MLN_FUN_META_GREEN_HH
33 # include <mln/fun/meta/impl.hh>
34 # include <mln/value/rgb.hh>
43 struct green : impl< green<T> >
52 struct function< meta::
green< value::rgb<n> > >
53 :
public Function_v2v<function< meta::green < value::rgb<n> > > >
55 typedef value::rgb<n>
value;
57 typedef typename value::green_t result;
58 result read(
const value& c);
60 typedef result& lresult;
61 lresult write(value& c);
65 # ifndef MLN_INCLUDE_ONLY
70 typename function< meta::green< value::rgb<n> > >::result
71 function< meta::green< value::rgb<n> > >::read(
const value& c)
78 typename function< meta::green< value::rgb<n> > >::lresult
79 function< meta::green< value::rgb<n> > >::write(value& c)
85 # endif // ! MLN_INCLUDE_ONLY
90 #endif // ! MLN_FUN_META_GREEN_HH