Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
Adaptor class to change begin and end behavior for reverse begin and reverse end and vise versa. More...
#include <iterator.hpp>
Public Member Functions | |
reverser (T &&container) | |
Constructor of the adaptor class based on the adapted container. More... | |
auto | begin () const |
Begin adaptor method to call rbegin. More... | |
auto | end () const |
End adaptor method to call rend. More... | |
Adaptor class to change begin and end behavior for reverse begin and reverse end and vise versa.
T | the type of class having rbegin and rend methods |
|
inlineexplicit |
Constructor of the adaptor class based on the adapted container.
container | the adapted container |
|
inline |
Begin adaptor method to call rbegin.
|
inline |
End adaptor method to call rend.