|
FastLED 3.9.15
|
Reverse iterator adapter - reverses the direction of a bidirectional iterator.
This adapter wraps any bidirectional iterator and reverses its direction. Incrementing a reverse_iterator moves backwards through the sequence, and dereferencing returns the element before the current position.
Usage example:
Definition at line 160 of file iterator.h.
#include <iterator.h>
Inheritance diagram for fl::reverse_iterator< Iterator >:Public Types | |
| typedef Iterator::difference_type | difference_type |
| typedef Iterator | iterator_type |
| typedef Iterator::pointer | pointer |
| typedef Iterator::reference | reference |
| typedef Iterator::value_type | value_type |
Protected Attributes | |
| Iterator | current |