Boost logo

Boost Users :

Subject: [Boost-users] [GIL] gil_function_requires( view that contains alpha )
From: Eloi Du Bois (eloi.du.bois_at_[hidden])
Date: 2009-12-02 08:24:26

Hi everybody,

I would like to know if there is an easy way to check if a view type
contains an alpha channel.

I would do something like that (not tested):
BOOST_STATIC_ASSERT(mpl::contains<typename color_space_type<Pixel>::type,

But I don't know if it is a good idea.
Is there a way to do that with gil_function_requires ?

Thanks & respect !

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at