Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:37:41

0001 /*!
0002 @file
0003 Defines `boost::hana::detail::variadic::reverse_apply`.
0004 
0005 Copyright Louis Dionne 2013-2022
0006 Distributed under the Boost Software License, Version 1.0.
0007 (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
0008  */
0009 
0010 #ifndef BOOST_HANA_DETAIL_VARIADIC_REVERSE_APPLY_HPP
0011 #define BOOST_HANA_DETAIL_VARIADIC_REVERSE_APPLY_HPP
0012 
0013 #include <boost/hana/config.hpp>
0014 #include <boost/hana/detail/variadic/reverse_apply/unrolled.hpp>
0015 
0016 
0017 namespace boost { namespace hana { namespace detail { namespace variadic {
0018     BOOST_HANA_INLINE_VARIABLE BOOST_HANA_CONSTEXPR_LAMBDA auto reverse_apply =
0019         [](auto&& f, auto&& ...x) -> decltype(auto) {
0020             return detail::variadic::reverse_apply_unrolled(
0021                 static_cast<decltype(f)>(f),
0022                 static_cast<decltype(x)>(x)...
0023             );
0024         };
0025 }} }} // end namespace boost::hana
0026 
0027 #endif // !BOOST_HANA_DETAIL_VARIADIC_REVERSE_APPLY_HPP