#include <cstddef>
-BOOST_HANA_NAMESPACE_BEGIN
+namespace boost { namespace hana {
//! Returns the first `n` elements of a sequence, or the whole sequence
//! if the sequence has less than `n` elements.
//! @ingroup group-Sequence
constexpr auto operator()(Xs&& xs, N const& n) const;
};
- constexpr take_front_t take_front{};
+ BOOST_HANA_INLINE_VARIABLE constexpr take_front_t take_front{};
#endif
//! Equivalent to `take_front`; provided for convenience.
struct take_front_c_t;
template <std::size_t n>
- constexpr take_front_c_t<n> take_front_c{};
+ BOOST_HANA_INLINE_VARIABLE constexpr take_front_c_t<n> take_front_c{};
#endif
-BOOST_HANA_NAMESPACE_END
+}} // end namespace boost::hana
#endif // !BOOST_HANA_FWD_TAKE_FRONT_HPP