|
vector< T, A > Class Template Reference
Detailed Descriptiontemplate<typename T, typename A>
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| typedef A allocator_type |
Definition at line 68 of file vector.hpp.
◆ const_iterator
| typedef const T* const_iterator |
Definition at line 64 of file vector.hpp.
◆ const_pointer
| typedef const T* const_pointer |
Definition at line 70 of file vector.hpp.
◆ const_reference
| typedef const T& const_reference |
Definition at line 62 of file vector.hpp.
◆ const_reverse_iterator
| typedef std::reverse_iterator<const T*> const_reverse_iterator |
Definition at line 72 of file vector.hpp.
◆ difference_type
| typedef std::ptrdiff_t difference_type |
Definition at line 66 of file vector.hpp.
◆ iterator
| typedef T* iterator |
Definition at line 63 of file vector.hpp.
◆ pointer
| typedef T* pointer |
Definition at line 69 of file vector.hpp.
◆ reference
| typedef T& reference |
Definition at line 61 of file vector.hpp.
◆ reverse_iterator
| typedef std::reverse_iterator<T*> reverse_iterator |
Definition at line 71 of file vector.hpp.
◆ size_type
| typedef std::size_t size_type |
Definition at line 65 of file vector.hpp.
◆ value_type
| typedef T value_type |
Definition at line 67 of file vector.hpp.
Constructor & Destructor Documentation
◆ vector() [1/9]
|
explicit |
Definition at line 137 of file vector.hpp.
◆ vector() [2/9]
| vector | ( | ) |
Definition at line 138 of file vector.hpp.
◆ vector() [3/9]
Definition at line 140 of file vector.hpp.
◆ vector() [4/9]
| vector | ( | size_type | n, |
| const value_type & | x | ||
| ) |
Definition at line 146 of file vector.hpp.
◆ vector() [5/9]
| vector | ( | size_type | n, |
| const value_type & | x, | ||
| const allocator_type & | a | ||
| ) |
Definition at line 152 of file vector.hpp.
◆ vector() [6/9]
Definition at line 158 of file vector.hpp.
◆ vector() [7/9]
| vector | ( | I | f, |
| I | l, | ||
| typename boost::disable_if< boost::is_integral< I > >::type * | = 0 |
||
| ) |
Definition at line 169 of file vector.hpp.
◆ vector() [8/9]
| vector | ( | I | f, |
| I | l, | ||
| const allocator_type & | a, | ||
| typename boost::disable_if< boost::is_integral< I > >::type * | = 0 |
||
| ) |
Definition at line 173 of file vector.hpp.
◆ ~vector()
| ~vector | ( | ) |
Definition at line 177 of file vector.hpp.
◆ vector() [9/9]
Definition at line 189 of file vector.hpp.
Member Function Documentation
◆ back() [1/2]
| reference back | ( | ) |
Definition at line 227 of file vector.hpp.
◆ back() [2/2]
| const_reference back | ( | ) | const |
Definition at line 228 of file vector.hpp.
◆ begin() [1/2]
| iterator begin | ( | ) |
Definition at line 194 of file vector.hpp.
◆ begin() [2/2]
| const_iterator begin | ( | ) | const |
Definition at line 197 of file vector.hpp.
◆ capacity()
| size_type capacity | ( | ) | const |
Definition at line 209 of file vector.hpp.
◆ clear()
| void clear | ( | ) |
Definition at line 253 of file vector.hpp.
◆ empty()
| bool empty | ( | ) | const |
Definition at line 210 of file vector.hpp.
◆ end() [1/2]
| iterator end | ( | ) |
Definition at line 195 of file vector.hpp.
◆ end() [2/2]
| const_iterator end | ( | ) | const |
Definition at line 198 of file vector.hpp.
◆ erase() [1/2]
Definition at line 249 of file vector.hpp.
◆ erase() [2/2]
Definition at line 446 of file vector.hpp.
◆ front() [1/2]
| reference front | ( | ) |
Definition at line 224 of file vector.hpp.
◆ front() [2/2]
| const_reference front | ( | ) | const |
Definition at line 225 of file vector.hpp.
◆ get_allocator()
| allocator_type get_allocator | ( | ) | const |
Definition at line 191 of file vector.hpp.
◆ insert() [1/3]
| iterator insert | ( | iterator | p, |
| value_type | x | ||
| ) |
Definition at line 237 of file vector.hpp.
◆ insert() [2/3]
| iterator insert | ( | iterator | p, |
| I | f, | ||
| I | l, | ||
| typename boost::disable_if< boost::is_integral< I > >::type * | = 0 |
||
| ) |
Definition at line 241 of file vector.hpp.
◆ insert() [3/3]
Definition at line 415 of file vector.hpp.
◆ insert_move()
Definition at line 372 of file vector.hpp.
◆ max_size()
| size_type max_size | ( | ) | const |
Definition at line 207 of file vector.hpp.
◆ operator=()
Definition at line 220 of file vector.hpp.
◆ operator[]() [1/2]
Definition at line 212 of file vector.hpp.
◆ operator[]() [2/2]
| const_reference operator[] | ( | size_type | n | ) | const |
Definition at line 213 of file vector.hpp.
◆ pop_back()
| void pop_back | ( | ) |
Definition at line 233 of file vector.hpp.
◆ push_back()
| void push_back | ( | value_type | x | ) |
Definition at line 230 of file vector.hpp.
◆ rbegin() [1/2]
| reverse_iterator rbegin | ( | ) |
Definition at line 200 of file vector.hpp.
◆ rbegin() [2/2]
| const_reverse_iterator rbegin | ( | ) | const |
Definition at line 203 of file vector.hpp.
◆ rend() [1/2]
| reverse_iterator rend | ( | ) |
Definition at line 201 of file vector.hpp.
◆ rend() [2/2]
| const_reverse_iterator rend | ( | ) | const |
Definition at line 204 of file vector.hpp.
◆ reserve()
| void reserve | ( | size_type | n | ) |
Definition at line 404 of file vector.hpp.
◆ resize() [1/2]
| void resize | ( | size_type | n | ) |
Definition at line 457 of file vector.hpp.
◆ resize() [2/2]
| void resize | ( | size_type | n, |
| const value_type & | x | ||
| ) |
Definition at line 464 of file vector.hpp.
◆ size()
| size_type size | ( | ) | const |
Definition at line 206 of file vector.hpp.
◆ swap()
| void swap | ( | vector< T, A > & | x | ) |
Definition at line 235 of file vector.hpp.
Friends And Related Function Documentation
◆ operator<
Definition at line 269 of file vector.hpp.
◆ operator==
Definition at line 259 of file vector.hpp.
◆ swap
Definition at line 274 of file vector.hpp.

