2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-18 14:12:10 +00:00

Allow for image creating with non-pixel types, like int or float, that satisfy the regular type concept.

[SVN r65910]
This commit is contained in:
Christian Henning
2010-10-11 15:55:32 +00:00
parent 73c9bac7f5
commit b4aa265399

View File

@@ -47,6 +47,8 @@ template <typename PixelBased> struct is_planar;
template <typename PixelBased> struct color_space_type<const PixelBased> : public color_space_type<PixelBased> {};
template <typename PixelBased> struct channel_mapping_type<const PixelBased> : public channel_mapping_type<PixelBased> {};
template <typename PixelBased> struct channel_type<const PixelBased> : public channel_type<PixelBased> {};
template <typename PixelBased> struct is_planar : mpl::false_ {};
template <typename PixelBased> struct is_planar<const PixelBased> : public is_planar<PixelBased> {};