#include <boost/hana/core/when.hpp>
-BOOST_HANA_NAMESPACE_BEGIN
+namespace boost { namespace hana {
//! Fold a Sequence to the right and return a list containing the
//! successive reduction states.
//! @ingroup group-Sequence
constexpr auto operator()(Xs&& xs, F const& f) const;
};
- constexpr scan_right_t scan_right{};
+ BOOST_HANA_INLINE_VARIABLE constexpr scan_right_t scan_right{};
#endif
-BOOST_HANA_NAMESPACE_END
+}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_SCAN_RIGHT_HPP