Boost logo

Boost Users :

Subject: [Boost-users] [GIL] Why does 'get_color' take a tag object instead of its type only?
From: TONGARI (tongari95_at_[hidden])
Date: 2013-01-28 09:53:49


Hi there,

I'm curious of why gil::get_color(pixel, tag) is defined that way.
Any need to take the tag value?

If not, I'd prefer gil::get_color<Tag>(pixel) or just gil::get<Tag>(pixel)
or even Tag::get(pixel).

And if possible, I hope GIL would just make pixel a Fusion sequence.

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