Dear Christian,
> >
> > 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 tutorial http://stlab.adobe.com/gil/html/giltutorial.html#GenericVersionSec, 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?
Best regards,
Chris Yuen