diff --git a/include/boost/gil/channel.hpp b/include/boost/gil/channel.hpp index 39ea65eac..340ddf7e2 100644 --- a/include/boost/gil/channel.hpp +++ b/include/boost/gil/channel.hpp @@ -692,6 +692,9 @@ void swap(const boost::gil::packed_dynamic_channel_reference x, const b // \brief Determines the fundamental type which may be used, e.g., to cast from larger to smaller channel types. namespace boost { namespace gil { + +namespace detail { + template struct base_channel_type_impl { using type = T; }; @@ -715,8 +718,10 @@ template struct base_channel_type_impl > { using type = ChannelValue; }; +} // namespace detail + template -struct base_channel_type : base_channel_type_impl::type> {}; +struct base_channel_type : detail::base_channel_type_impl::type> {}; }} //namespace boost::gil