1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- #ifndef BOOST_HANA_FWD_ORDERING_HPP
- #define BOOST_HANA_FWD_ORDERING_HPP
- #include <boost/hana/config.hpp>
- namespace boost { namespace hana {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #ifdef BOOST_HANA_DOXYGEN_INVOKED
- constexpr auto ordering = [](auto&& f) {
- return [perfect-capture](auto&& x, auto&& y) -> decltype(auto) {
- return less(f(forwarded(x)), f(forwarded(y)));
- };
- };
- #else
- struct ordering_t {
- template <typename F>
- constexpr auto operator()(F&& f) const;
- };
- BOOST_HANA_INLINE_VARIABLE constexpr ordering_t ordering{};
- #endif
- }}
- #endif
|