From 5a5c31de350be0839f5e6b5374e05d0e50754b20 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Thu, 2 Mar 2023 15:49:25 -0800 Subject: [PATCH] Rename `storage` to `uninitialized_storage` --- include/boost/unordered/detail/foa.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 7770a9c2..684aefdd 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1130,11 +1130,11 @@ _STL_RESTORE_DEPRECATED_WARNING constexpr static float const mlf = 0.875f; template -union storage +union uninitialized_storage { T t_; - storage(){} - ~storage(){} + uninitialized_storage(){} + ~uninitialized_storage(){} }; template @@ -1449,8 +1449,8 @@ public: emplace_type,element_type >::type; - storage s; - auto *p=std::addressof(s.t_); + uninitialized_storage s; + auto *p=std::addressof(s.t_); type_policy::construct(al(),p,std::forward(args)...);