vector(size_type _Count, const _Ty& _Val, const _Alloc& _Al) : _Mybase(_Al) { // construct from _Count * _Val, with allocator _Construct_n(_Count, _STD addressof(_Val)); }
void _Construct(_Iter _Count, _Iter _Val, _Int_iterator_tag) { // initialize with _Count * _Val size_type _Size = (size_type)_Count; _Ty _Newval = (_Ty)_Val; _Construct_n(_Size, _STD addressof(_Newval)); }
vector(size_type _Count, const _Ty& _Val) : _Mybase() { // construct from _Count * _Val _Construct_n(_Count, _STD addressof(_Val)); }