2 // Copyright 2017 Peter Dimov.
3 // Copyright 2019 Mateusz Loskot <mateusz at loskot dot net>
5 // Distributed under the Boost Software License, Version 1.0
6 // See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt
9 #ifndef BOOST_GIL_DETAIL_MP11_HPP
10 #define BOOST_GIL_DETAIL_MP11_HPP
12 #include <boost/mp11.hpp>
13 #include <boost/mp11/mpl.hpp> // required by dynamic_image and boost::variant (?)
15 namespace boost { namespace gil { namespace detail {
18 using mp_back = ::boost::mp11::mp_at_c<L, ::boost::mp11::mp_size<L>::value - 1>;
21 using mp_pop_back = ::boost::mp11::mp_take_c<L, ::boost::mp11::mp_size<L>::value - 1>;
24 }}} // namespace boost::gil::detail