1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- #ifndef BOOST_HANA_FWD_EQUAL_HPP
- #define BOOST_HANA_FWD_EQUAL_HPP
- #include <boost/hana/config.hpp>
- #include <boost/hana/core/when.hpp>
- #include <boost/hana/detail/nested_to_fwd.hpp>
- BOOST_HANA_NAMESPACE_BEGIN
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #ifdef BOOST_HANA_DOXYGEN_INVOKED
- constexpr auto equal = [](auto&& x, auto&& y) {
- return tag-dispatched;
- };
- #else
- template <typename T, typename U, typename = void>
- struct equal_impl : equal_impl<T, U, when<true>> { };
- struct equal_t : detail::nested_to<equal_t> {
- template <typename X, typename Y>
- constexpr auto operator()(X&& x, Y&& y) const;
- };
- constexpr equal_t equal{};
- #endif
- BOOST_HANA_NAMESPACE_END
- #endif
|