For internal use only.
Associates an allocator and memory allocation with the vector. If the vector constructor throws, then this class does the right cleanup.
| Alloc | The allocator type. |
Public Member Functions | |
| Alloc::const_pointer | begin () const |
| Gets an iterator to the first element. | |
| Alloc::pointer | begin () |
| Gets an iterator to the first element. | |
| std::size_t | capacity () const |
| Gets the maximum number of elements before a reallocation. | |
| Alloc | get_allocator () const |
| Gets the allocator. | |