File indexing completed on 2025-12-15 09:53:04
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_HANA_FWD_LESS_HPP
0011 #define BOOST_HANA_FWD_LESS_HPP
0012
0013 #include <boost/hana/config.hpp>
0014 #include <boost/hana/core/when.hpp>
0015 #include <boost/hana/detail/nested_than_fwd.hpp>
0016
0017
0018 namespace boost { namespace hana {
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036 #ifdef BOOST_HANA_DOXYGEN_INVOKED
0037 constexpr auto less = [](auto&& x, auto&& y) {
0038 return tag-dispatched;
0039 };
0040 #else
0041 template <typename T, typename U, typename = void>
0042 struct less_impl : less_impl<T, U, when<true>> { };
0043
0044 struct less_t : detail::nested_than<less_t> {
0045 template <typename X, typename Y>
0046 constexpr auto operator()(X&& x, Y&& y) const;
0047 };
0048
0049 BOOST_HANA_INLINE_VARIABLE constexpr less_t less{};
0050 #endif
0051 }}
0052
0053 #endif