Subject: Re: [boost] [gil] numeric extension, arithmetic operators
From: Harg Tholan (hargtholan_at_[hidden])
Date: 2013-04-08 10:54:53
Tongari, would you please pass me a link to your code.
2013/4/8 TONGARI <tongari95_at_[hidden]>
> 2013/4/8 Christian Henning <chhenning_at_[hidden]>
> > On Mon, Apr 8, 2013 at 10:12 AM, Harg Tholan <hargtholan_at_[hidden]>
> > > Hey,
> > >
> > > Christian, do you mean "you *can* just write"?
> > > Anyway, I will try to derive a class from Pixel overloading the
> > arithmetic
> > > operators by wrapping the pixel numeric operations.
> > >
> > How will you define the return type? You know it can be anything that's
> > compatible to the src types:
> > e.g.:
> > rgb8_pixel = bgr8_pixel + rgb8_pixel
> You can return a "View" that is lazily evaluated, like what I did with
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk