mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 19:37:14 +02:00
Rename storage
to uninitialized_storage
This commit is contained in:
@ -1130,11 +1130,11 @@ _STL_RESTORE_DEPRECATED_WARNING
|
|||||||
constexpr static float const mlf = 0.875f;
|
constexpr static float const mlf = 0.875f;
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
union storage
|
union uninitialized_storage
|
||||||
{
|
{
|
||||||
T t_;
|
T t_;
|
||||||
storage(){}
|
uninitialized_storage(){}
|
||||||
~storage(){}
|
~uninitialized_storage(){}
|
||||||
};
|
};
|
||||||
|
|
||||||
template <class TypePolicy,class A,class T>
|
template <class TypePolicy,class A,class T>
|
||||||
@ -1449,8 +1449,8 @@ public:
|
|||||||
emplace_type,element_type
|
emplace_type,element_type
|
||||||
>::type;
|
>::type;
|
||||||
|
|
||||||
storage<insert_type> s;
|
uninitialized_storage<insert_type> s;
|
||||||
auto *p=std::addressof(s.t_);
|
auto *p=std::addressof(s.t_);
|
||||||
|
|
||||||
type_policy::construct(al(),p,std::forward<Args>(args)...);
|
type_policy::construct(al(),p,std::forward<Args>(args)...);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user