123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #ifndef BOOST_HANA_FWD_DROP_WHILE_HPP
- #define BOOST_HANA_FWD_DROP_WHILE_HPP
- #include <boost/hana/config.hpp>
- #include <boost/hana/core/when.hpp>
- namespace boost { namespace hana {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #ifdef BOOST_HANA_DOXYGEN_INVOKED
- constexpr auto drop_while = [](auto&& iterable, auto&& predicate) {
- return tag-dispatched;
- };
- #else
- template <typename It, typename = void>
- struct drop_while_impl : drop_while_impl<It, when<true>> { };
- struct drop_while_t {
- template <typename Xs, typename Pred>
- constexpr auto operator()(Xs&& xs, Pred&& pred) const;
- };
- BOOST_HANA_INLINE_VARIABLE constexpr drop_while_t drop_while{};
- #endif
- }}
- #endif
|