12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #ifndef BOOST_HANA_FWD_IS_EMPTY_HPP
- #define BOOST_HANA_FWD_IS_EMPTY_HPP
- #include <boost/hana/config.hpp>
- #include <boost/hana/core/when.hpp>
- namespace boost { namespace hana {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #ifdef BOOST_HANA_DOXYGEN_INVOKED
- constexpr auto is_empty = [](auto const& xs) {
- return tag-dispatched;
- };
- #else
- template <typename It, typename = void>
- struct is_empty_impl : is_empty_impl<It, when<true>> { };
- struct is_empty_t {
- template <typename Xs>
- constexpr auto operator()(Xs const& xs) const;
- };
- BOOST_HANA_INLINE_VARIABLE constexpr is_empty_t is_empty{};
- #endif
- }}
- #endif
|