Rose
|
Provide a reverse view of a standard container type. More...
#include <Utilities.h>
Public Member Functions | |
ReverseContainerView (ContainerType &container) | |
Constructor. More... | |
auto | begin () |
Get the begin iterator for the reverse view. More... | |
auto | end () |
Get the end iterator for the reverse view. More... | |
Protected Attributes | |
ContainerType & | mContainer |
A reference to the standard container. | |
Provide a reverse view of a standard container type.
ContainerType | The type of container |
|
inlineexplicit |
Constructor.
container | The standard container to provide the view of. |
reverse | If true reverse the container view, if false do not reverse. |
|
inline |
Get the begin iterator for the reverse view.
|
inline |
Get the end iterator for the reverse view.