#include <cstddef>
-BOOST_HANA_NAMESPACE_BEGIN
+namespace boost { namespace hana {
//! Remove the elements inside a given range of indices from a sequence.
//! @ingroup group-Sequence
//!
constexpr auto operator()(Xs&& xs, From const& from, To const& to) const;
};
- constexpr remove_range_t remove_range{};
+ BOOST_HANA_INLINE_VARIABLE constexpr remove_range_t remove_range{};
#endif
//! Equivalent to `remove_range`; provided for convenience.
struct remove_range_c_t;
template <std::size_t from, std::size_t to>
- constexpr remove_range_c_t<from, to> remove_range_c{};
+ BOOST_HANA_INLINE_VARIABLE constexpr remove_range_c_t<from, to> remove_range_c{};
#endif
-BOOST_HANA_NAMESPACE_END
+}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_REMOVE_RANGE_HPP