From b4aa2653992e77a078d9fa5279e2f3962c72cfdf Mon Sep 17 00:00:00 2001 From: Christian Henning Date: Mon, 11 Oct 2010 15:55:32 +0000 Subject: [PATCH] Allow for image creating with non-pixel types, like int or float, that satisfy the regular type concept. [SVN r65910] --- include/boost/gil/pixel.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/gil/pixel.hpp b/include/boost/gil/pixel.hpp index cf448fbc9..4d3e42bbf 100644 --- a/include/boost/gil/pixel.hpp +++ b/include/boost/gil/pixel.hpp @@ -47,6 +47,8 @@ template struct is_planar; template struct color_space_type : public color_space_type {}; template struct channel_mapping_type : public channel_mapping_type {}; template struct channel_type : public channel_type {}; + +template struct is_planar : mpl::false_ {}; template struct is_planar : public is_planar {};