1039 #if _ITERATOR_DEBUG_LEVEL == 2
1042 || this->
_Mylast() < _Where._Ptr)
1049 const bool _One_at_back =
_Count == 1 && _Where._Ptr == this->
_Mylast();
1066 const pointer _Newvec = this->
_Getal().allocate(_Newcapacity);
1067 const pointer _Constructed_last = _Newvec + _Whereoff +
_Count;
1068 pointer _Constructed_first = _Constructed_last;
1072 _Constructed_first = _Newvec + _Whereoff;
1081 _Constructed_first = _Newvec;
1085 _Destroy(_Constructed_first, _Constructed_last);
1086 this->
_Getal().deallocate(_Newvec, _Newcapacity);
1092 else if (_One_at_back)
1098 const _Ty _Tmp =
_Val;
1100 const size_type _Affected_elements = _Oldlast - _Where._Ptr;
1103 if (_Count > _Affected_elements)
1105 this->
_Mylast() =
_Ufill(_Oldlast, _Count - _Affected_elements, _Tmp);
1111 this->
_Mylast() =
_Umove(_Oldlast - _Count, _Oldlast, _Oldlast);
1117 return (
begin() + _Whereoff);
void _Change_array(const pointer _Newvec, const size_type _Newsize, const size_type _Newcapacity)
Definition: vector:1930
_Vector_val< _Val_types > & _Get_data() _NOEXCEPT
Definition: vector:639
_STD_BEGIN constexpr _Ty * addressof(_Ty &_Val) _NOEXCEPT
Definition: xstddef:628
#define _TRY_BEGIN
Definition: xstddef:26
#define _CATCH_END
Definition: xstddef:29
pointer & _Myfirst() _NOEXCEPT
Definition: vector:649
iterator begin() _NOEXCEPT
Definition: vector:1643
size_type size() const _NOEXCEPT
Definition: vector:1708
return * this
Definition: variant:950
size_type max_size() const _NOEXCEPT
Definition: vector:1713
static void _Xlength()
Definition: vector:1960
void _Orphan_range(pointer, pointer) const
Definition: vector:1994
void _Fill_unchecked(_FwdIt _First, _FwdIt _Last, const _Ty &_Val)
Definition: xutility:2702
#define _CATCH_ALL
Definition: xstddef:28
pointer & _Mylast() _NOEXCEPT
Definition: vector:659
_BidIt2 _Move_backward_unchecked(_BidIt1 _First, _BidIt1 _Last, _BidIt2 _Dest)
Definition: xutility:2613
void _Emplace_back_with_unused_capacity(_Valty &&..._Val)
Definition: vector:897
_Mybase::size_type size_type
Definition: vector:713
size_type _Unused_capacity() const _NOEXCEPT
Definition: vector:1724
void _Destroy(pointer _First, pointer _Last)
Definition: vector:1883
_Diff _Count
Definition: algorithm:1941
#define _DEBUG_ERROR(mesg)
Definition: xutility:33
pointer _Ufill(pointer _Dest, const size_type _Count, const _Ty &_Val)
Definition: vector:1851
_Alty & _Getal() _NOEXCEPT
Definition: vector:629
_Mybase::pointer pointer
Definition: vector:709
#define _RERAISE
Definition: xstddef:32
_FwdIt const _Ty _Val
Definition: algorithm:1938
size_type _Calculate_growth(const size_type _Newsize) const
Definition: vector:1888
void _Umove_if_noexcept(pointer _First, pointer _Last, pointer _Dest)
Definition: vector:1877
pointer _Umove(pointer _First, pointer _Last, pointer _Dest)
Definition: vector:1862