123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #ifndef BOOST_HANA_FWD_INSERT_RANGE_HPP
- #define BOOST_HANA_FWD_INSERT_RANGE_HPP
- #include <boost/hana/config.hpp>
- #include <boost/hana/core/when.hpp>
- namespace boost { namespace hana {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #ifdef BOOST_HANA_DOXYGEN_INVOKED
- constexpr auto insert_range = [](auto&& xs, auto&& n, auto&& elements) {
- return tag-dispatched;
- };
- #else
- template <typename S, typename = void>
- struct insert_range_impl : insert_range_impl<S, when<true>> { };
- struct insert_range_t {
- template <typename Xs, typename N, typename Elements>
- constexpr auto operator()(Xs&& xs, N&& n, Elements&& elements) const;
- };
- BOOST_HANA_INLINE_VARIABLE constexpr insert_range_t insert_range{};
- #endif
- }}
- #endif
|