-
Notifications
You must be signed in to change notification settings - Fork 0
Iterator
Inherits from cons_iterator
This is an iterator type is commonly used as the function output type upon using iterators to alter the contents of the stack_vector where it returns an index pointing at a location of the new altered stack_vector.
The type of
typename Tofstack_vector.
The type pointer of
typename Tofstack_vector.
The type reference of
typename Tofstack_vector.
| Name | Type | Visibility | Description |
|---|---|---|---|
m_ptr |
PointerType |
private |
This points to the address of m_data of stack_vector. |
Default constructor
Copy constructor which assigns
m_ptrto point at them_dataofstack_vector<T>.
Allows to index the array pointed at
m_data.
Returns
m_ptr.
Returns reference to 'm_ptr'.
Prefix increment
m_ptr.
Postfix increment
m_ptr.
Prefix decrement
m_ptr.
Postfix decrement
m_ptr.
Allows for indexing the array easily.
Allows for indexing the array easily.
Allows for indexing the array easily.
Allows for indexing the array easily.
If
m_ptrvalue is the same as otherm_ptr.
If
m_ptrvalue is not the same as otherm_ptr.
If
m_ptrvalue is greater than or equal to otherm_ptr.
If
m_ptrvalue is less than or equal to otherm_ptr.
If
m_ptrvalue is greater than to otherm_ptr.
If
m_ptrvalue is less than to otherm_ptr.