]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/hana/fwd/take_front.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / hana / fwd / take_front.hpp
index 9ce3b9c030dd3aecbabf7bf03af7a41401e91c5b..cd253bae5868c0b074b6e3f90d12c85103263498 100644 (file)
@@ -16,7 +16,7 @@ Distributed under the Boost Software License, Version 1.0.
 #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
@@ -51,7 +51,7 @@ BOOST_HANA_NAMESPACE_BEGIN
         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.
@@ -71,8 +71,8 @@ BOOST_HANA_NAMESPACE_BEGIN
     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