зеркало из https://github.com/microsoft/STL.git
Update list to remove bogus strengthened comment (#5024)
This commit is contained in:
Родитель
3532569b95
Коммит
7fe40573c5
|
@ -920,8 +920,7 @@ public:
|
|||
_Swap_val(_Right);
|
||||
}
|
||||
|
||||
list& operator=(list&& _Right)
|
||||
noexcept(_Choose_pocma_v<_Alnode> == _Pocma_values::_Equal_allocators) /* strengthened */ {
|
||||
list& operator=(list&& _Right) noexcept(_Alnode_traits::is_always_equal::value) {
|
||||
if (this == _STD addressof(_Right)) {
|
||||
return *this;
|
||||
}
|
||||
|
|
|
@ -940,8 +940,8 @@ public:
|
|||
_Swap_val_excluding_comp(_Right);
|
||||
}
|
||||
|
||||
_Tree& operator=(_Tree&& _Right) noexcept(
|
||||
_Choose_pocma_v<_Alnode> == _Pocma_values::_Equal_allocators && is_nothrow_move_assignable_v<key_compare>) {
|
||||
_Tree& operator=(_Tree&& _Right)
|
||||
noexcept(_Alnode_traits::is_always_equal::value && is_nothrow_move_assignable_v<key_compare>) {
|
||||
if (this == _STD addressof(_Right)) {
|
||||
return *this;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче