![]() |
Data Abstraction and Problem Solving with C++Walls and Mirrorsby Frank M. Carrano |
![]() |
c05p252.hGo to the documentation of this file.00001 00014 template <typename T> class std::vector 00015 { 00016 public: 00020 vector() 00021 00022 00026 vector(size_type n) 00027 00028 00033 bool empty() const; 00034 00041 size_type size() const; 00042 00047 void push_back(const T& val); 00048 00052 void pop_back(); 00053 00059 iterator insert(iterator i, const T& val); 00060 00066 iterator erase(iterator i); 00067 00071 void clear(); 00072 00078 iterator begin(); 00079 00084 iterator end(); 00085 00086 }; // end std::vector |