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:
@@ -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> {};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user