home | login | register | DMCA | contacts | help | donate |      

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
А Б В Г Д Е Ж З И Й К Л М Н О П Р С Т У Ф Х Ц Ч Ш Щ Э Ю Я


my bookshelf | genres | recommend | rating of books | rating of authors | reviews | new | форум | collections | читалки | авторам | add
fantasy
space fantasy
fantasy is horrors
heroic
prose
  military
  child
  russian
detective
  action
  child
  ironical
  historical
  political
western
adventure
adventure (child)
child's stories
love
religion
antique
Scientific literature
biography
business
home pets
animals
art
history
computers
linguistics
mathematics
religion
home_garden
sport
technique
publicism
philosophy
chemistry
close

Loading...


Members

Member Where defined Description
value_type Container The type of object, T, stored in the vector.
pointer Container Pointer to T.
reference Container Reference to T
const_reference Container Const reference to T
size_type Container An unsigned integral type.
difference_type Container A signed integral type.
iterator Container Iterator used to iterate through a vector.
const_iterator Container Const iterator used to iterate through a vector.
reverse_iterator Reversible Container Iterator used to iterate backwards through a vector.
const_reverse_iterator Reversible Container Const iterator used to iterate backwards through a vector.
iterator begin() Container Returns an iterator pointing to the beginning of the vector.
iterator end() Container Returns an iterator pointing to the end of the vector.
const_iterator begin() const Container Returns a const_iterator pointing to the beginning of the vector.
const_iterator end() const Container Returns a const_iterator pointing to the end of the vector.
reverse_iterator rbegin() Reversible Container Returns a reverse_iterator pointing to the beginning of the reversed vector.
reverse_iterator rend() Reversible Container Returns a reverse_iterator pointing to the end of the reversed vector.
const_reverse_iterator rbegin() const Reversible Container Returns a const_reverse_iterator pointing to the beginning of the reversed vector.
const_reverse_iterator rend() const Reversible Container Returns a const_reverse_iterator pointing to the end of the reversed vector.
size_type size() const Container Returns the size of the vector.
size_type max_size() const Container Returns the largest possible size of the vector.
size_type capacity() const vector See below.
bool empty() const Container true if the vector 's size is 0.
reference operator[](size_type n) Random Access Container Returns the n'th element.
const_reference operator[](size_type n) const Random Access Container Returns the n'th element.
vector() Container Creates an empty vector.
vector(size_type n) Sequence Creates a vector with n elements.
vector(size_type n, const T& t) Sequence Creates a vector with n copies of t.
vector(const vector&) Container The copy constructor.
template vector(InputIterator, InputIterator) [1] Sequence Creates a vector with a copy of a range.
~vector() Container The destructor.
vector& operator=(const vector&) Container The assignment operator
void reserve(size_t) vector See below.
vector reference front() Sequence Returns the first element.
const_reference front() const Sequence Returns the first element.
reference back() Back Insertion Sequence Returns the last element.
const_reference back() const Back Insertion Sequence Returns the last element.
void push_back(const T&) Back Insertion Sequence Inserts a new element at the end.
void pop_back() Back Insertion Sequence Removes the last element.
void swap(vector&) Container Swaps the contents of two vectors.
iterator insert(iterator pos, const T& x) Sequence Inserts x before pos.
template void insert(iterator pos, InputIterator f, InputIterator l) [1] Sequence Inserts the range [first, last) before pos.
void insert(iterator pos, size_type n, const T& x) Sequence Inserts n copies of x before pos.
iterator erase(iterator pos) Sequence Erases the element at position pos.
iterator erase(iterator first, iterator last) Sequence Erases the range [first, last)
void clear() Sequence Erases all of the elements.
void resize(n, t = T()) Sequence Inserts or erases elements at the end such that the size becomes n.
bool operator==(const vector&, const vector&) Forward Container Tests two vectors for equality. This is a global function, not a member function.
bool operator<(const vector&, const vector&) Forward Container Lexicographical comparison. This is a global function, not a member function.


Type requirements | Standard Template Library Programmer`s Guide | New members







Loading...