]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/hana/fwd/tuple.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / hana / fwd / tuple.hpp
index 9ee2e00ace1afd25ac4646ba476e7d6a41b61b4c..08d2c7728366bf4fa8e79812d6ff90e764754391 100644 (file)
@@ -17,7 +17,7 @@ Distributed under the Boost Software License, Version 1.0.
 #include <boost/hana/fwd/type.hpp>
 
 
-BOOST_HANA_NAMESPACE_BEGIN
+namespace boost { namespace hana {
     //! @ingroup group-datatypes
     //! General purpose index-based heterogeneous sequence with a fixed length.
     //!
@@ -179,11 +179,11 @@ BOOST_HANA_NAMESPACE_BEGIN
 
     //! Alias to `make<tuple_tag>`; provided for convenience.
     //! @relates hana::tuple
-    constexpr auto make_tuple = make<tuple_tag>;
+    BOOST_HANA_INLINE_VARIABLE constexpr auto make_tuple = make<tuple_tag>;
 
     //! Equivalent to `to<tuple_tag>`; provided for convenience.
     //! @relates hana::tuple
-    constexpr auto to_tuple = to<tuple_tag>;
+    BOOST_HANA_INLINE_VARIABLE constexpr auto to_tuple = to<tuple_tag>;
 
     //! Create a tuple specialized for holding `hana::type`s.
     //! @relates hana::tuple
@@ -202,7 +202,7 @@ BOOST_HANA_NAMESPACE_BEGIN
     constexpr implementation_defined tuple_t{};
 #else
     template <typename ...T>
-    constexpr hana::tuple<hana::type<T>...> tuple_t{};
+    BOOST_HANA_INLINE_VARIABLE constexpr hana::tuple<hana::type<T>...> tuple_t{};
 #endif
 
     //! Create a tuple specialized for holding `hana::integral_constant`s.
@@ -222,8 +222,8 @@ BOOST_HANA_NAMESPACE_BEGIN
     constexpr implementation_defined tuple_c{};
 #else
     template <typename T, T ...v>
-    constexpr hana::tuple<hana::integral_constant<T, v>...> tuple_c{};
+    BOOST_HANA_INLINE_VARIABLE constexpr hana::tuple<hana::integral_constant<T, v>...> tuple_c{};
 #endif
-BOOST_HANA_NAMESPACE_END
+}} // end namespace boost::hana
 
 #endif // !BOOST_HANA_FWD_TUPLE_HPP