Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2006-10-17 20:08:28


Lubomir Bourdev wrote:

> This is why in GIL we allow the type of the result to be specified
> explicitly upon invoking the operation. Promotion traits can at best be
> useful for a reasonable default, but even then we feel that they belong
> in boost::type_traits and not in an image library, as the problem
> generalizes beyond images.

I agree. I am not quite fond of monolithic libraries that do everything.
Promotion traits and clamping, for example, can also be useful for, say,
signal processing of audio, among other things.

Regards,

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk