1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- #ifndef BOOST_HANA_FWD_MOD_HPP
- #define BOOST_HANA_FWD_MOD_HPP
- #include <boost/hana/config.hpp>
- #include <boost/hana/core/when.hpp>
- namespace boost { namespace hana {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #ifdef BOOST_HANA_DOXYGEN_INVOKED
- constexpr auto mod = [](auto&& x, auto&& y) -> decltype(auto) {
- return tag-dispatched;
- };
- #else
- template <typename T, typename U, typename = void>
- struct mod_impl : mod_impl<T, U, when<true>> { };
- struct mod_t {
- template <typename X, typename Y>
- constexpr decltype(auto) operator()(X&& x, Y&& y) const;
- };
- BOOST_HANA_INLINE_VARIABLE constexpr mod_t mod{};
- #endif
- }}
- #endif
|