1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #ifndef BOOST_HANA_FWD_DIV_HPP
- #define BOOST_HANA_FWD_DIV_HPP
- #include <boost/hana/config.hpp>
- #include <boost/hana/core/when.hpp>
- BOOST_HANA_NAMESPACE_BEGIN
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #ifdef BOOST_HANA_DOXYGEN_INVOKED
- constexpr auto div = [](auto&& x, auto&& y) -> decltype(auto) {
- return tag-dispatched;
- };
- #else
- template <typename T, typename U, typename = void>
- struct div_impl : div_impl<T, U, when<true>> { };
- struct div_t {
- template <typename X, typename Y>
- constexpr decltype(auto) operator()(X&& x, Y&& y) const;
- };
- constexpr div_t div{};
- #endif
- BOOST_HANA_NAMESPACE_END
- #endif
|