
24 Apr
2007
24 Apr
'07
8 a.m.
Christian,
2. I think you can write a multifunction and pass it into boost::gil::static_for_each. Create a class and make a templatized member function operator()(T1 src, T2& dst) that does the special conversion you want. Use enable_if and disable_if from <boost/utility.hpp> to specialize the member function.
What do you mean with multifunction? Do you have an example somewhere? I don't understand.
I may have misused the word; I just meant a class with a template operator(). John.