Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-15 09:51:58

0001 //
0002 // Copyright 2017 Peter Dimov.
0003 // Copyright 2019 Mateusz Loskot <mateusz at loskot dot net>
0004 //
0005 // Distributed under the Boost Software License, Version 1.0
0006 // See accompanying file LICENSE_1_0.txt or copy at
0007 // http://www.boost.org/LICENSE_1_0.txt
0008 //
0009 #ifndef BOOST_GIL_DETAIL_MP11_HPP
0010 #define BOOST_GIL_DETAIL_MP11_HPP
0011 
0012 #include <boost/mp11.hpp>
0013 
0014 namespace boost { namespace gil { namespace detail {
0015 
0016 template<typename L>
0017 using mp_back = ::boost::mp11::mp_at_c<L, ::boost::mp11::mp_size<L>::value - 1>;
0018 
0019 template<typename L>
0020 using mp_pop_back = ::boost::mp11::mp_take_c<L, ::boost::mp11::mp_size<L>::value - 1>;
0021 
0022 
0023 }}}  // namespace boost::gil::detail
0024 
0025 #endif