On Mon, Aug 16, 2010 at 12:32 PM, Christian Henning
It works for me now too. Any idea why that is?
Well, apparently the reference type is declared as const somewhere in
the GIL code (not the referenced pixel, of course). I tried to find
exactly where the const was added in the code, but I had some trouble
following all the many metafunction instantiations, etc -- there are
quite a few for the declaration given.
I did modify the metafunction slightly to give correct results
regardless of const (and volatile) qualifiers. Perhaps it would be of
use to you:
//In addition to previous includes
#include