1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- #ifndef BOOST_HANA_FWD_ZIP_WITH_HPP
- #define BOOST_HANA_FWD_ZIP_WITH_HPP
- #include <boost/hana/config.hpp>
- #include <boost/hana/core/when.hpp>
- BOOST_HANA_NAMESPACE_BEGIN
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #ifdef BOOST_HANA_DOXYGEN_INVOKED
- constexpr auto zip_with = [](auto&& f, auto&& x1, ..., auto&& xn) {
- return tag-dispatched;
- };
- #else
- template <typename S, typename = void>
- struct zip_with_impl : zip_with_impl<S, when<true>> { };
- struct zip_with_t {
- template <typename F, typename Xs, typename ...Ys>
- constexpr auto operator()(F&& f, Xs&& xs, Ys&& ...ys) const;
- };
- constexpr zip_with_t zip_with{};
- #endif
- BOOST_HANA_NAMESPACE_END
- #endif
|