12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- #ifndef BOOST_HANA_FWD_EVAL_HPP
- #define BOOST_HANA_FWD_EVAL_HPP
- #include <boost/hana/config.hpp>
- #include <boost/hana/core/when.hpp>
- namespace boost { namespace hana {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #ifdef BOOST_HANA_DOXYGEN_INVOKED
- constexpr auto eval = [](auto&& see_documentation) -> decltype(auto) {
- return tag-dispatched;
- };
- #else
- template <typename T, typename = void>
- struct eval_impl : eval_impl<T, when<true>> { };
- struct eval_t {
- template <typename Expr>
- constexpr decltype(auto) operator()(Expr&& expr) const;
- };
- BOOST_HANA_INLINE_VARIABLE constexpr eval_t eval{};
- #endif
- }}
- #endif
|