#include <boost/gil/bit_aligned_pixel_reference.hpp>
#include <boost/gil/channel.hpp>
+#include <boost/gil/detail/mp11.hpp>
-#include <boost/mpl/at.hpp>
#include <boost/utility/enable_if.hpp> // boost::lazy_enable_if
namespace boost{ namespace gil {
using type = packed_dynamic_channel_reference
<
B,
- mpl::at_c<C, 0>::type::value,
+ mp11::mp_at_c<C, 0>::value,
M
>;
};
using type = packed_dynamic_channel_reference
<
B,
- get_num_bits<typename mpl::at_c<C, 0>::type>::value,
+ get_num_bits<mp11::mp_at_c<C, 0>>::value,
true
>;
};
// packed_pixel
template < typename BitField
- , typename ChannelRefVec
+ , typename ChannelRefs
, typename Layout
>
struct channel_type< packed_pixel< BitField
- , ChannelRefVec
+ , ChannelRefs
, Layout
>
> : lazy_enable_if< is_homogeneous< packed_pixel< BitField
- , ChannelRefVec
+ , ChannelRefs
, Layout
>
>
, gen_chan_ref_p< BitField
- , ChannelRefVec
+ , ChannelRefs
, Layout
>
> {};