8 Apr
2013
8 Apr
'13
8:39 a.m.
Hey, Do we plan to overload arithmetic operators for Pixel as wrappers of the numeric extension? or should users derive a class from Pixel adding such functionality? ATM, for diving two pixels (rgb_8 for example), I have to call the division this way: pix_r = pixel_divide_t<rgb_8_pixel_t, rgb_8_pixel_t, rgb_8_pixel_t>().operator()(pix2, pix1); The thing is that I have a template class that makes use of operator/ at some point on one of the template parameters, and I would like to be able to use it with 'Pixel' type. Thank you!