]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/hana/fwd/at.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / hana / fwd / at.hpp
index ea03114ed7bfc02740cad72a78bd73781f4cacae..7d5a98dd0a8ac5ce4d29481bf410c0ea97aaeb7c 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 `n`th element of an iterable.
     //! @ingroup group-Iterable
     //!
@@ -59,7 +59,7 @@ BOOST_HANA_NAMESPACE_BEGIN
         constexpr decltype(auto) operator()(Xs&& xs, N const& n) const;
     };
 
-    constexpr at_t at{};
+    BOOST_HANA_INLINE_VARIABLE constexpr at_t at{};
 #endif
 
     //! Equivalent to `at`; provided for convenience.
@@ -84,6 +84,6 @@ BOOST_HANA_NAMESPACE_BEGIN
     template <std::size_t n, typename Xs>
     constexpr decltype(auto) at_c(Xs&& xs);
 #endif
-BOOST_HANA_NAMESPACE_END
+}} // end namespace boost::hana
 
 #endif // !BOOST_HANA_FWD_AT_HPP