Index: include/vector =================================================================== --- include/vector +++ include/vector @@ -420,7 +420,7 @@ void __vector_base<_Tp, _Allocator>::__destruct_at_end(pointer __new_last) _NOEXCEPT { - while (__new_last != __end_) + while (__new_last < __end_) __alloc_traits::destroy(__alloc(), _VSTD::__to_raw_pointer(--__end_)); }