Boost logo

Boost Users :

Subject: Re: [Boost-users] [GIL] About `packed_channel_value` (possible improvement)
From: TONGARI (tongari95_at_[hidden])
Date: 2013-02-14 11:29:48


2013/2/15 Christian Henning <chhenning_at_[hidden]>

> On Wed, Feb 13, 2013 at 6:13 PM, Christian Henning <chhenning_at_[hidden]>
> wrote:
> > Hi,
> >
> >>> // I have no idea why this exists, seems OK to remove it
> >>> template <typename Scalar> packed_channel_value(Scalar v) { _value
> =
> >>> static_cast< integer_t >( v ) % num_values; }
>
> I have uploaded the revised packed_channel_value class. Please have a
> look when you get a chance.
>

Ah, too bad, I just edited the file to get it work w/o that overload...
Ok, I'll check it now.

Thanks



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net