Tham khảo tài liệu 'ansi/iso c++ professional programmer's handbook phần 8', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | ANSI ISO C Professional Programmer s Handbook - Chapter 10 - STL and Generic Programming const_reverse_iterator rend const capacity operations size_type size const size_type max_size const void resize size_type sz T c T size_type capacity const bool empty const void reserve size_type n element access operations reference operator size_type n const_reference operator size_type n const const_reference at size_type n const reference at size_type n reference front const_reference front const reference back const_reference back const modifiers void push_back const T x void pop_back iterator insert iterator position const T x void insert iterator position size_type n const T x template class InputIterator void insert iterator position InputIterator first InputIterator last iterator erase iterator position iterator erase iterator first iterator last void swap vector T Allocator void clear class vector non-member overloaded operators template class T class Allocator bool operator const vector T Allocator x const vector T Allocator y template class T class Allocator bool operator const vector T Allocator x const vector T Allocator y template class T class Allocator bool operator const vector T Allocator x const vector T Allocator y template class T class Allocator bool operator const vector T Allocator x const vector T Allocator y template class T class Allocator bool operator const vector T Allocator x const vector T Allocator y template class T class Allocator bool operator const vector T Allocator x const vector T Allocator y specialized algorithms template class T class Allocator file D Cool Stuff old ftp 1 1 ch10 7 von 28 14 46 25 ANSI ISO C Professional Programmer s Handbook - Chapter 10 - STL and Generic Programming void swap vector T Allocator x vector T Allocator y namespace std On most implementations the parameterized types size_type and difference_type have the default values size_t and ptrdiff_t respectively. However they can be replaced by