12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- #ifndef BOOST_HANA_FWD_SUM_HPP
- #define BOOST_HANA_FWD_SUM_HPP
- #include <boost/hana/config.hpp>
- #include <boost/hana/core/when.hpp>
- #include <boost/hana/fwd/integral_constant.hpp>
- namespace boost { namespace hana {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #ifdef BOOST_HANA_DOXYGEN_INVOKED
- constexpr auto sum = see documentation;
- #else
- template <typename T, typename = void>
- struct sum_impl : sum_impl<T, when<true>> { };
- template <typename M>
- struct sum_t {
- template <typename Xs>
- constexpr decltype(auto) operator()(Xs&& xs) const;
- };
- template <typename M = integral_constant_tag<int>>
- BOOST_HANA_INLINE_VARIABLE constexpr sum_t<M> sum{};
- #endif
- }}
- #endif
|