12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- #ifndef BOOST_HANA_FWD_PREPEND_HPP
- #define BOOST_HANA_FWD_PREPEND_HPP
- #include <boost/hana/config.hpp>
- #include <boost/hana/core/when.hpp>
- BOOST_HANA_NAMESPACE_BEGIN
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #ifdef BOOST_HANA_DOXYGEN_INVOKED
- constexpr auto prepend = [](auto&& xs, auto&& x) {
- return tag-dispatched;
- };
- #else
- template <typename M, typename = void>
- struct prepend_impl : prepend_impl<M, when<true>> { };
- struct prepend_t {
- template <typename Xs, typename X>
- constexpr auto operator()(Xs&& xs, X&& x) const;
- };
- constexpr prepend_t prepend{};
- #endif
- BOOST_HANA_NAMESPACE_END
- #endif
|