#include <stlsoft/containers/pod_vector.hpp>
Typedefs | |
typedef buffer_type_::value_type | value_type |
The value type. | |
typedef buffer_type_::allocator_type | allocator_type |
The allocator type. | |
typedef pod_vector< T, A, SPACE > | class_type |
The type of the current parameterisation. | |
typedef buffer_type_::reference | reference |
The reference type. | |
typedef buffer_type_::const_reference | const_reference |
The non-mutable (const) reference type. | |
typedef buffer_type_::pointer | pointer |
The pointer type. | |
typedef buffer_type_::const_pointer | const_pointer |
The non-mutable (const) pointer type. | |
typedef buffer_type_::iterator | iterator |
The iterator type. | |
typedef buffer_type_::const_iterator | const_iterator |
The non-mutable (const) iterator type. | |
typedef buffer_type_::size_type | size_type |
The size type. | |
typedef buffer_type_::difference_type | difference_type |
The difference type. | |
Public Member Functions | |
Construction | |
pod_vector (size_type cItems=0) | |
pod_vector (size_type cItems, value_type const &value) | |
pod_vector (class_type const &rhs) | |
pod_vector (const_iterator first, const_iterator last) | |
pod_vector & | operator= (class_type const &rhs) |
Iteration | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
Attributes | |
size_type | size () const |
size_type | capacity () const |
size_type | max_size () const |
bool | empty () const |
allocator_type | get_allocator () const |
Accessors | |
reference | at (size_type index) |
const_reference | at (size_type index) const |
reference | operator[] (size_type index) |
const_reference | operator[] (size_type index) const |
reference | front () |
const_reference | front () const |
reference | back () |
const_reference | back () const |
Operations | |
void | clear () |
void | swap (class_type &rhs) |
void | reserve (size_type cItems) |
void | resize (size_type cItems) |
void | resize (size_type cItems, value_type const &value) |
void | push_back (value_type const &value) |
void | pop_back () |
void | assign (const_iterator first, const_iterator last) |
void | assign (size_type cItems, value_type const &value=value_type()) |
iterator | insert (iterator it, value_type const &value=value_type()) |
void | insert (iterator it, size_type cItems, value_type const &value) |
void | insert (iterator it, const_iterator first, const_iterator last) |
iterator | erase (iterator it) |
iterator | erase (iterator first, iterator last) |
typedef buffer_type_::value_type value_type |
The value type.
typedef buffer_type_::allocator_type allocator_type |
The allocator type.
typedef pod_vector<T, A, SPACE> class_type |
The type of the current parameterisation.
typedef buffer_type_::reference reference |
The reference type.
typedef buffer_type_::const_reference const_reference |
The non-mutable (const) reference type.
typedef buffer_type_::pointer pointer |
The pointer type.
typedef buffer_type_::const_pointer const_pointer |
The non-mutable (const) pointer type.
typedef buffer_type_::iterator iterator |
The iterator type.
typedef buffer_type_::const_iterator const_iterator |
The non-mutable (const) iterator type.
typedef buffer_type_::size_type size_type |
The size type.
typedef buffer_type_::difference_type difference_type |
The difference type.