Boost Users :
Subject: Re: [Boost-users] [gil] Using gil::color_converted_view with gil::for_each_pixel (Christian Henning)
From: Chris Yuen (kizzx2+boost_at_[hidden])
Date: 2010-12-06 12:44:30
> > 2. This compiles
> > gil::gil_function_requires<gil::ImageViewConcept<int> >();
> What do you mean? This shouldn't compile?
I was under the impression that the point of gil_function_requires is to do
static checking to ensure that a type is compatible with an GIL type?
(Something akin to BOOST_CONCEPT_ASSERT)
Is an int supposed to be compatible with ImageViewConcept? From the GIL
it seems like it's being used as a static type check, and int clearly isn't
compatible to an image view. Am I missing something?
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