1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- #ifndef BOOST_HANA_FWD_IS_DISJOINT_HPP
- #define BOOST_HANA_FWD_IS_DISJOINT_HPP
- #include <boost/hana/config.hpp>
- #include <boost/hana/core/when.hpp>
- namespace boost { namespace hana {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #ifdef BOOST_HANA_DOXYGEN_INVOKED
- constexpr auto is_disjoint = [](auto const& xs, auto const& ys) {
- return tag-dispatched;
- };
- #else
- template <typename S1, typename S2, typename = void>
- struct is_disjoint_impl : is_disjoint_impl<S1, S2, when<true>> { };
- struct is_disjoint_t {
- template <typename Xs, typename Ys>
- constexpr auto operator()(Xs&& xs, Ys&& ys) const;
- };
- BOOST_HANA_INLINE_VARIABLE constexpr is_disjoint_t is_disjoint{};
- #endif
- }}
- #endif
|