Warning, file /include/boost/gil/extension/toolbox/metafunctions/is_similar.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_GIL_EXTENSION_TOOLBOX_METAFUNCTIONS_IS_SIMILAR_HPP
0009 #define BOOST_GIL_EXTENSION_TOOLBOX_METAFUNCTIONS_IS_SIMILAR_HPP
0010
0011 #include <boost/gil/channel.hpp>
0012
0013 #include <type_traits>
0014
0015 namespace boost{ namespace gil {
0016
0017
0018
0019
0020 template<typename A, typename B>
0021 struct is_similar : std::false_type {};
0022
0023 template<typename A>
0024 struct is_similar<A, A> : std::true_type {};
0025
0026 template<typename B,int I, int S, bool M, int I2>
0027 struct is_similar
0028 <
0029 packed_channel_reference<B, I, S, M>,
0030 packed_channel_reference<B, I2, S, M>
0031 > : std::true_type {};
0032
0033 }}
0034
0035 #endif