12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #ifndef BOOST_HANA_FWD_FOR_EACH_HPP
- #define BOOST_HANA_FWD_FOR_EACH_HPP
- #include <boost/hana/config.hpp>
- #include <boost/hana/core/when.hpp>
- namespace boost { namespace hana {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #ifdef BOOST_HANA_DOXYGEN_INVOKED
- constexpr auto for_each = [](auto&& xs, auto&& f) -> void {
- tag-dispatched;
- };
- #else
- template <typename T, typename = void>
- struct for_each_impl : for_each_impl<T, when<true>> { };
- struct for_each_t {
- template <typename Xs, typename F>
- constexpr void operator()(Xs&& xs, F&& f) const;
- };
- BOOST_HANA_INLINE_VARIABLE constexpr for_each_t for_each{};
- #endif
- }}
- #endif
|