File indexing completed on 2025-12-15 09:52:46
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_HANA_DETAIL_NESTED_THAN_HPP
0011 #define BOOST_HANA_DETAIL_NESTED_THAN_HPP
0012
0013 #include <boost/hana/detail/nested_than_fwd.hpp>
0014
0015 #include <boost/hana/config.hpp>
0016 #include <boost/hana/functional/flip.hpp>
0017 #include <boost/hana/functional/partial.hpp>
0018
0019
0020 namespace boost { namespace hana { namespace detail {
0021
0022 template <typename Algorithm>
0023 template <typename X>
0024 constexpr decltype(auto) nested_than_t<Algorithm>::operator()(X&& x) const
0025 { return hana::partial(hana::flip(Algorithm{}), static_cast<X&&>(x)); }
0026
0027 } }}
0028
0029 #endif