]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/hana/fwd/remove_range.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / hana / fwd / remove_range.hpp
index 1645cce5987abe4fd284ed24d1b82e746814924f..83df1873f37f602933c5f4b129af0148e965f90e 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 {
     //! Remove the elements inside a given range of indices from a sequence.
     //! @ingroup group-Sequence
     //!
@@ -58,7 +58,7 @@ BOOST_HANA_NAMESPACE_BEGIN
         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.
@@ -78,8 +78,8 @@ BOOST_HANA_NAMESPACE_BEGIN
     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